.len

# .len

Description

Len is a dynamic property, that returns the length of its input value.

Parameters

Len takes no parameters

Usage On Objects

obj = {
  "1":"val",
  "2":"val"
}

log obj.len
// returns the number of keys in the object (2)

Last updated

Was this helpful?