Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
var
hasDomain = (data, kind) => domainOf(data) === kind
6
var
domainOf = data => {
7
const
builtinType = typeof data
8
return
(
Callers
1
next
Method · 0.70
Calls
1
domainOf
Function · 0.70
Tested by
no test coverage detected