Version: v0.8.1 - 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