githubEdit

every()

areString().every()

Checks whether every of the provided values of areString() is a stringarrow-up-right type or an instance of Stringarrow-up-right.

circle-info

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

Returns

The return value is a booleanarrow-up-right indicating whether the provided values of areString() are a stringarrow-up-right type or an instance of Stringarrow-up-right.

Example usage

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

areString(1, '2', '3').every((result, value, payload) => {
  result // true
  value // [1, '2', '3']
  payload // undefined
  return result;
}); // false, boolean

Last updated