Function isBad

Returns true if value is zen falsey, a.k.a bad, which includes

  • z.isFalse(value)

  • !value (i.e value is undefined, null, 0, NaN, false, "")

  • value === z.NOTHING

  • value is new Boolean(false) or new Number(0), BigInt(0n), new String('')

@todo: type guard