areSymbol()
Last updated
areSymbol()Checks whether the values are a symbol type by using every(), forEach() and some() methods of the returned object.
const areSymbol = <CommonPayload extends object>(...values: any[]) =>
areDeterminer<CommonPayload>(isSymbol, ...values);CommonPayloadextendsobjectThe CommonPayload generic type variable constrained by the object constrains the generic type variable Payload of each returned method.
...values: any[]A rest parameter of any type to check its elements against a symbol type.
The return value is an object with every(), some() and forEach() as methods of checking supplied values.
Last updated