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

Method hasCode

ark/schema/shared/jsonSchema.ts:221–225  ·  view source on GitHub ↗
(
		code: code
	)

Source from the content-addressed store, hash-verified

219 }
220
221 hasCode<code extends ToJsonSchema.Code>(
222 code: code
223 ): this is ToJsonSchemaError<code> {
224 return this.code === (code as never)
225 }
226}
227
228/** the targets ~standard.jsonSchema writes, each of which a precompiled build bakes */

Callers 1

foreignFallbackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected