mumu 0.11.1

Lava Mumu is a language for those in the now and that know
Documentation
extend("test")
extend("array")

describe("array:length", () => {

  it("returns the length of an int array", () => {
    expect_equal( array:length([1,2,3]), 3 )
    expect_equal( array:length([]), 0 )
  })

  it("returns the length of a str array", () => {
    expect_equal( array:length(["A","B","C","D"]), 4 )
  })

  it("returns the count of a keyed array", () => {
    obj = [ alpha:10, beta:20, gamma:42 ]
    expect_equal( array:length(obj), 3 )
  })

})