@yookue/ts-lang-utils
    Preparing search index...

    Function isNil

    • Returns whether the given object is null or undefined

      Parameters

      • object: any

        the object to check

      Returns boolean

      whether the given object is null or undefined

      David Hsing

      isNil(null);    // true
      isNil(undefined); // true
      isNil({}); // false