nonAdmin
function nonAdmin(): boolean;
The negation of isAdmin, for the guard clause that leaves early. Because a failed lookup answers false there, it answers true here: an unavailable Admin SDK is treated as “not an administrator”, which is the safe reading.
Returns
boolean — true when the active user is not an administrator.
Examples
Leaving early
if (nonAdmin()) {
return;
}
See also
Source
23 September 2026
This documentation was generated with AI (Claude) from the library's source code.