MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isKeybindingBlockArray

Function isKeybindingBlockArray

source code/keybindings/validate.ts:54–56  ·  view source on GitHub ↗

* Type guard to check if an array contains only valid KeybindingBlocks.

(arr: unknown)

Source from the content-addressed store, hash-verified

52 * Type guard to check if an array contains only valid KeybindingBlocks.
53 */
54function isKeybindingBlockArray(arr: unknown): arr is KeybindingBlock[] {
55 return Array.isArray(arr) && arr.every(isKeybindingBlock)
56}
57
58/**
59 * Valid context names for keybindings.

Callers 1

validateBindingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected