areBigInt()
areBigInt()
areBigInt()Checks whether the values are a bigint type by using every(), forEach() and some() methods of the returned object.
const areBigInt = <CommonPayload extends object>(...values: any[]) =>
areDeterminer<CommonPayload>(isBigInt, ...values);Generic type variables
CommonPayloadextendsobject
CommonPayloadextendsobjectThe CommonPayload generic type variable constrained by the object constrains the generic type variable Payload of each returned method.
Parameters
...values: any[]
...values: any[]A rest parameter of any type to check its elements against a bigint type.
Returns
The return value is an object of every(), some() and forEach() as methods of checking supplied values.
Last updated
Was this helpful?