areDefined()
Last updated
areDefined()Checks whether the values are defined by using every(), forEach() and some() methods of the returned object.
const areDate = <CommonPayload extends object>(...values: any[]) =>
areDeterminer<CommonPayload>(isDate, ...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 whether its elements are defined.
The return value is an object of every(), some() and forEach() as methods of checking supplied values.
Last updated