@hexafuchs/what.js
Preparing search index...
containsValue
Function containsValue
containsValue
<
T
>
(
container
:
T
[]
|
Record
<
string
,
T
>
|
Set
<
T
>
|
Map
<
unknown
,
T
>
,
value
:
T
,
)
:
boolean
Returns whether the object or array contains the given value.
Supports maps and sets.
Type Parameters
T
Parameters
container
:
T
[]
|
Record
<
string
,
T
>
|
Set
<
T
>
|
Map
<
unknown
,
T
>
value
:
T
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hexafuchs/what.js
Loading...
Returns whether the object or array contains the given value.
Supports maps and sets.