MCPcopy
hub / github.com/webpack/webpack / isOrdinalSetInMask

Function isOrdinalSetInMask

lib/buildChunkGraph.js:85–86  ·  view source on GitHub ↗
(mask, ordinal)

Source from the content-addressed store, hash-verified

83 * @returns {boolean} If the ordinal-th bit is set in the mask
84 */
85const isOrdinalSetInMask = (mask, ordinal) =>
86 BigInt.asUintN(1, mask >> BigInt(ordinal)) !== ZERO_BIGINT;
87
88/**
89 * Gets active state of connections.

Callers 2

processBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected