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

    Function anyNotNil

    • Returns whether any of the elements in the given objects is not null or undefined

      Parameters

      • Optionalobjects: any[]

        the objects to check

      Returns boolean

      whether any of the elements in the given objects is not null or undefined

      David Hsing

      anyNotNil([null, undefined]);    // false
      anyNotNil([null, {}]); // true