Skip to content

Commit 37c53c3

Browse files
committed
docs: User#isAnonymous()
1 parent 99dbfc5 commit 37c53c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/user.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,11 @@ module.exports = function(AV) {
296296
return !!authData[authType];
297297
},
298298

299+
/**
300+
* Checks whether a user is anonymous.
301+
* @since 3.9.0
302+
* @return {boolean}
303+
*/
299304
isAnonymous() {
300305
return this._isLinked(PLATFORM_ANONYMOUS);
301306
},

0 commit comments

Comments
 (0)