MCPcopy Create free account
hub / github.com/arktypeio/arktype / isGiven

Function isGiven

ark/aot/pluginCalls.ts:343–344  ·  view source on GitHub ↗
(given: PrecompilePluginOptions, key: string)

Source from the content-addressed store, hash-verified

341}
342
343const isGiven = (given: PrecompilePluginOptions, key: string) =>
344 (given as Record<string, unknown>)[key] !== undefined
345
346const writeUnreadMessage = (call: PluginCall, keys: string[]): string => {
347 const [key] = keys

Callers 2

withPluginCallsFunction · 0.85
pluginCallLinesOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected