Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
spec
Function spec
Returns a function that checks if key/value pairs of x match all pairs in spec
spec
(
values
:
any
[]
|
Obj
<
any
>
,
)
:
(
x
:
any
[]
|
Obj
<
any
>
,
...
args
:
unknown
[]
)
=>
boolean
Parameters
values
:
any
[]
|
Obj
<
any
>
Returns
(
x
:
any
[]
|
Obj
<
any
>
,
...
args
:
unknown
[]
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Returns a function that checks if key/value pairs of x match all pairs in spec