Returns if value is passing, used in various filters and projections.
It passes if:
value is strict JS truthy, i.e !!value
and value is not equal to z.NOTHING, new Boolean(false), new Number(0), BigInt(0n), new String('')
finally value is not equal to STOP or a Stop instance, which also has a special meaning in the context of projections and iterators: it STOPS the iteration, like a break in a loop.
Returns if value is passing, used in various filters and projections. It passes if:
!!valuevalueis not equal toz.NOTHING,new Boolean(false),new Number(0),BigInt(0n),new String('')valueis not equal toSTOPor aStopinstance, which also has a special meaning in the context of projections and iterators: it STOPS the iteration, like abreakin a loop.