Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
155
function
hasBitFlag(conf: number, flag: number) {
156
return
(conf & flag) > 0
157
}
Callers
1
checkPointerEvents
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected