Returns true if value is a Zen truthy, defined as !_.isBad(value), which includes:
!_.isBad(value)
z.isTruthy(value)
value is not new Boolean(false) or new Number(0) or BigInt(0n) or new String('')
value
new Boolean(false)
new Number(0)
BigInt(0n)
new String('')
@todo: type guard
boolean
Returns true if value is a Zen truthy, defined as
!_.isBad(value)
, which includes:z.isTruthy(value)
value
is notnew Boolean(false)
ornew Number(0)
orBigInt(0n)
ornew String('')
@todo: type guard