some()
areSymbol().some()
areSymbol().some()
Checks whether some of the provided values
of areSymbol()
are a symbol
type.
Returns
The return value is a boolean
indicating whether some of 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).some((result, value, payload) => {
result // true
value // [ Symbol(1), 2, Symbol(3), 4 ]
payload // undefined
return result;
}); // true, boolean
Last updated
Was this helpful?