Checks if every of the provided values of areSymbol() is a symbol type.

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


The return value is a boolean indicating whether the provided values of areSymbol() are a symbol type.

Example usage

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

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

Last updated