Returns whether the given value is nil or can be converted to true
Optional
the source value to check
whether the given value is nil or can be converted to true
isNotFalse(true); // trueisNotFalse(undefined); // trueisNotFalse(null); // trueisNotFalse('yes'); // trueisNotFalse('foobar'); // trueisNotFalse(() => true); // true Copy
isNotFalse(true); // trueisNotFalse(undefined); // trueisNotFalse(null); // trueisNotFalse('yes'); // trueisNotFalse('foobar'); // trueisNotFalse(() => true); // true
Returns whether the given value is nil or can be converted to true