fn

and

v0.0.2tested

Function to combine multiple flags using the AND operator

Signature

ts
export function and(...flags: number[]){ ... }

Parameters

ParameterTypeDescription
flags?number[]The flags to combine

Returns

numberThe combined flags