Metakit / @doeixd/metakit/build

foreignArgsWithin

function · packages/metakit/src/ops/residualize.ts:64

function foreignArgsWithin(
  op: Node.ForeignOp,
  args: ReadonlyArray<Node.Node>,
): boolean

Whether each of args is known, from its value or its Schema, to be within op's argument Schema at its position (or null): where op's total claim applies, a call of it then refuses only where an argument does.