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

Map.hasKey

hasKey($key) -> boolean

Description

Return true if $key exists.

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

$map.has('b')
//= true

$map.has('X')
//= false

See Also