Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
invert
Function invert
invert
<
TKey
,
TValue
>
(
obj
)
:
Record
<
TValue
,
TKey
>
Returns an object with { [keys]: value } inverted as { [value]: key }
Type Parameters
TKey
extends
string
|
number
|
symbol
TValue
extends
string
|
number
|
symbol
Parameters
obj
:
Record
<
TKey
,
TValue
>
Returns
Record
<
TValue
,
TKey
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Returns an object with { [keys]: value } inverted as { [value]: key }