@zero-dependency/utilsFunctionsisTruthyisTruthy CallableisTruthy<T>(value: T): value is NonNullable<T>Checks whether the given value is truthy, meaning it is not null, undefined, false, 0, NaN, or an empty string.Type parametersTParametersvalue: TThe value to be checked.Returns value is NonNullable<T>Returns true if the value is truthy, false otherwise.
Checks whether the given value is truthy, meaning it is not null, undefined, false, 0, NaN, or an empty string.