★ areNumber()

areFalse()

Checks whether the values are null by using every(), forEach() and some() methods of the returned object.

are-number.func.ts
const areNumber = <CommonPayload extends object>(...values: any[]) =>
  areDeterminer<CommonPayload>(isNumber, ...values);

Generic type variables

CommonPayloadextendsobject

The CommonPayload generic type variable constrained by the object constrains the generic type variable Payload of each returned method.

Parameters

...values: any[]

A rest parameter of any type to check its elements against a number type or an instance of Number.

Returns

The return value is an object with every(), some() and forEach() as methods of checking supplied values.

Last updated