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

    Function isNotNil

    • Returns whether the given object is not null or undefined

      Parameters

      • object: any

        the object to check

      Returns boolean

      whether the given object is not null or undefined

      David Hsing

      isNotNil('foobar');    // true
      isNotNil([]); // true