Checks whether every provided value of areUndefined() is undefined.

The method uses every() method of areDeterminer().


The return value is a boolean indicating whether the provided values of areUndefined() are undefined.

Example usage

// Example usage.
import { areUndefined } from '@angular-package/type';

areUndefined(undefined, 2, 3, new String('4')).every((result, value, payload) => {
  result // false
  value // [ undefined, 2, 3, String]
  payload // undefined
  return result;
}); // false, boolean

Last updated