areRegExp()
areRegExp()
areRegExp()
Checks whether the values are regular expressions of RegExp
by using every()
, forEach()
and some()
methods of the returned object.
are-regexp.func.ts
Generic type variables
CommonPayload
extends
object
CommonPayload
extends
object
The 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 the regular expression of RegExp
.
Returns
The return value is an object
with every()
, some()
and forEach()
as methods of checking supplied values
.
Last updated