Skip to content

Function: parsePermissionMask() ​

ts
function parsePermissionMask(value): bigint;

Defined in: permissions.ts:148

Read a stored mask however it arrives: a hex string (the stored form), a 0x string, a bigint, a number, or nothing at all.

Parameters ​

ParameterType
valueunknown

Returns ​

bigint

Released under the GNU Affero General Public License v3.0.