extend("array")

# Regular integer array
sput( array:length([10, 20, 30]) ) // => 3

# String array
fruits = ["apple", "banana", "cherry"]
sput( array:length(fruits) ) // => 3

# Keyed array
myKeyed = [ name:"Alice", age:"30" ]
sput( array:length(myKeyed) ) // => 2

# Boolean array
bools = [true, false, false, true]
sput( array:length(bools) ) // => 4


