fn

is

v0.0.2tested

Function to check if a flag is set

Signature

ts
export function is(flag: number){ ... }

Parameters

ParameterTypeDescription
flagnumberThe flag to check

Returns

booleanWhether the flag is set