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

Function set

ark/schema/node.ts:1661–1663  ·  view source on GitHub ↗
(this: BaseNode, value: boolean)

Source from the content-addressed store, hash-verified

1659 return (this.bits & bit) !== 0
1660 },
1661 set(this: BaseNode, value: boolean) {
1662 this.bits = value ? this.bits | bit : this.bits & ~bit
1663 }
1664 })
1665}
1666

Callers 1

readCommonJsMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected