Returns true if the given value is not null or undefined.
isSome(null); // falseisSome(undefined); // falseisSome(0); // trueisSome({}); // true Copy
isSome(null); // falseisSome(undefined); // falseisSome(0); // trueisSome({}); // true
Returns true if the given value is not null or undefined.