@graphty/graphty-element / format / maskToIndices
Function: maskToIndices() ​
maskToIndices(
mask,length):U32
Defined in: graph-format/dist/src/util/mask.d.ts:46
The included indices below length in ascending order, as a fresh U32.
Parameters ​
mask ​
the mask words, at least ceil(length / 32) of them
length ​
number
the number of indices the mask covers
Returns ​
the set bit indices