For the complete documentation index, see llms.txt. This page is also available as Markdown.

some()

areUndefined().some()

Checks whether some of the provided values of areUndefined() are undefined.

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

Returns

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

Example usage

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

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

Last updated