Methods to manage identity for the `Me` class.
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. |
The `me` username identity object.
Object
Example
console.log(me.getMe()); // { username: "suiGn" }