@tb-dev/utils - v6.0.3
Preparing search index...
PickByValue
Type Alias PickByValue<T, V>
PickByValue
:
{
[
P
in
keyof
T
as
T
[
P
]
extends
V
?
P
:
never
]
:
T
[
P
]
}
Like
Pick
, but constructs the type based on the values.
Type Parameters
T
V
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@tb-dev/utils - v6.0.3
Loading...
Like
Pick
, but constructs the type based on the values.