@bytebury/sauce - v2.2.0
    Preparing search index...

    Function isSome

    • Returns true if the given value is not null or undefined.

      Parameters

      • thing: unknown

      Returns boolean

      isSome(null); // false
      isSome(undefined); // false
      isSome(0); // true
      isSome({}); // true