Skip to content

xdash API Reference v0.5.14


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

Released under the MIT License.