... this.me Docs Identity

Module

Identity

Methods to manage identity for the `Me` class.

View Source modules/identity.js, line 1

Methods

# static getMe(identity) → {Object}

Retrieves the username (identity) of the `me` instance. This method returns the `me` object, which includes the username that was set during the creation of the instance.
Parameters:
Name Type Description
identity Object The identity object of the `me` instance.

View Source modules/identity.js, line 19

The `me` username identity object.
Object
Example
console.log(me.getMe()); // { username: "suiGn" }

By neurons.me