xdash API Reference / hasValue
Function: hasValue()
hasValue<
T
>(obj
,value
):boolean
Defined in: src/object.ts:178
Determines if an object has a value.
Type Parameters
T
T
Parameters
obj
Record
<string
, T
>
object to check
value
T
value to check
Returns
boolean
true if the object has the value, false otherwise