Entity / foldkit-entity

NullPredicate

interface · packages/entity/src/expr.ts:89

interface NullPredicate {
  readonly _tag: 'Null'
  readonly operand: AnyExpr
  readonly present: boolean
}

Whether a value is absent. present says which answer absence gives, so one node covers is null and is not null rather than two that differ by a negation nothing else can express.

Members

NullPredicate._tag

property · packages/entity/src/expr.ts:90

readonly _tag: 'Null'

NullPredicate.operand

property · packages/entity/src/expr.ts:91

readonly operand: AnyExpr

NullPredicate.present

property · packages/entity/src/expr.ts:92

readonly present: boolean