Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ has
Method
has
src/system/keyboard.ts:86–88 ·
view source on GitHub ↗
(code: string)
Source
from the content-addressed store, hash-verified
84
}
85
}
86
has(code: string) {
87
return
!!this.registry[code]
88
}
89
setUnprevented(code: string) {
90
const
o = this.registry[code]
91
if
(o) {
Callers
1
isKeyPressed
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected