areBoolean()
Last updated
Last updated
areBoolean()
Checks whether the values are a boolean
type or an instance of Boolean
by using every()
, forEach()
and some()
methods of the returned object.
CommonPayload
extends
object
The 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 boolean
type or an instance of Boolean
.
The return value is an object
of every()
, some()
and forEach()
as methods of checking supplied values
.