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

Map.length

length() -> number

Description

Return the number of key/value pairs.

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

$map.length()
//= 3