Entity / foldkit-entity/lowering

callOperator

function · packages/entity/src/expr/primitive.ts:96

function callOperator(
  operator: OperatorDescriptor,
  args: ReadonlyArray<Node.Node>,
  collation: Option.Option<Collation>,
): Node.Node

A call of a primitive operator over built arguments. A collation reaches no operation: an operator that compares text itself (collation: 'required') is given its text arguments folded as the call's collation folds them.