Skip to content

OverlapsRef

Defined in: src/schema/index.ts:77

Symmetric constraint for equality-style operators: satisfied when the operand’s type OVERLAPS the referenced binding’s type (some value could inhabit both), rather than being a subtype of it. x == 1 and 1 == x both parse for x: “string | number”; “a” == 1 still fails (disjoint).

TBinding extends string = string

readonly kind: "overlaps"

Defined in: src/schema/index.ts:78


readonly binding: TBinding

Defined in: src/schema/index.ts:79