* Get the email associated with the current user. * * @example * ```typescript * Iterable.getEmail().then((email) => { * // Do something with the email * }); * ```
()
| 269 | * ``` |
| 270 | */ |
| 271 | static getEmail(): Promise<string | null> { |
| 272 | return IterableApi.getEmail(); |
| 273 | } |
| 274 | |
| 275 | /** |
| 276 | * Associate the current user with the passed in `userId` parameter. |