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

Function hasDomain

ark/aot/settingsValidators.ts:5–5  ·  view source on GitHub ↗
(data, kind)

Source from the content-addressed store, hash-verified

3// written by __tests__/writeSettings.ts from __tests__/settingsSchema.ts
4// ark/util/domain.ts
5var hasDomain = (data, kind) => domainOf(data) === kind
6var domainOf = data => {
7 const builtinType = typeof data
8 return (

Callers 1

nextMethod · 0.70

Calls 1

domainOfFunction · 0.70

Tested by

no test coverage detected