Metakit / @doeixd/metakit/conformance

checkOpSoundness

function · packages/metakit/src/conformance.ts:71

function checkOpSoundness(op: Node.Op): OpReport

Hold one operator to one answer over every awkward operand: null, an absent key, NaN, an infinity, the ends of the safe range, a float, the empty string, an astral character and text with a NUL, the empty array and arrays holding null, NaN or a NUL, each under Schemas that pin it, bound it loosely or say only its type.