Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Map.hasValue

hasValue($value) -> boolean

Description

Return true if $value exists in any key/value pair.

$map = { a: 1, b: 2, c: 3 }

$map.hasValue(2)
//= true

$map.hasValue(99)
//= false

See Also