MCPcopy Create free account
hub / github.com/Noumena-Network/code / isShiftKey

Function isShiftKey

src/ink/parse-keypress.ts:427–442  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

425]
426
427const isShiftKey = (code: string): boolean => {
428 return [
429 '[a',
430 '[b',
431 '[c',
432 '[d',
433 '[e',
434 '[2$',
435 '[3$',
436 '[5$',
437 '[6$',
438 '[7$',
439 '[8$',
440 '[Z',
441 ].includes(code)
442}
443
444const isCtrlKey = (code: string): boolean => {
445 return [

Callers 1

parseKeypressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected