Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/predicate
record
Function record
record
<
V_
,
K
extends
string
|
number
|
symbol
=
string
>
(
v
:
Predicate
<
V_
>
,
k
?:
Predicate
<
K
>
,
)
:
Predicate
<
Record
<
K
,
V_
>
>
A record whose values satisfy
v
and whose keys satisfy
k
(strings by default).
Type Parameters
V_
K
extends
string
|
number
|
symbol
=
string
Parameters
v
:
Predicate
<
V_
>
Optional
k
:
Predicate
<
K
>
Returns
Predicate
<
Record
<
K
,
V_
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
A record whose values satisfy
vand whose keys satisfyk(strings by default).