Skip to main content

Function: matchesMask()

matchesMask(identifier, mask): boolean

Defined in: utilities/matches-mask.ts:6

Checks if a given identifier matches a specified mask.

Parameters

identifier

number

The identifier or category to check.

mask

number

The mask to compare against.

Returns

boolean

True if the identifier matches the mask, false otherwise.