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

    Function anyNil

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

      Parameters

      • Optionalobjects: any[]

        the objects to check

      Returns boolean

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

      David Hsing

      anyNil([null, undefined]);    // true
      anyNil([null, {}]); // true
      anyNil(['foo', 'bar']); // false