MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isKeybindingBlockArray

Function isKeybindingBlockArray

src/keybindings/validate.ts:52–54  ·  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

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

Callers 1

validateBindingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected