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