Skip to content

@graphty/graphty-element / format / maskSet

Function: maskSet() ​

maskSet(mask, i, value): void

Defined in: graph-format/dist/src/util/mask.d.ts:31

Include or exclude index i.

Parameters ​

mask ​

U32

the mask words

i ​

number

the index, below the mask's length

value ​

boolean

true to include, false to exclude

Returns ​

void