UNPKG

wichevr

Version:

Returns whichever is the first truthy.

3 lines (2 loc) 83 B
# truly Check if the value is not undefined, null, empty string, NaN and Infinity.