MCPcopy Create free account
hub / github.com/testing-library/user-event / hasBitFlag

Function hasBitFlag

src/utils/pointer/cssPointerEvents.ts:155–157  ·  view source on GitHub ↗
(conf: number, flag: number)

Source from the content-addressed store, hash-verified

153
154// With the eslint rule and prettier the bitwise operation isn't nice to read
155function hasBitFlag(conf: number, flag: number) {
156 return (conf & flag) > 0
157}

Callers 1

checkPointerEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected