array-mumu 0.2.0-rc.5

Array tools plugin for the Mumu ecosystem
Documentation
extend("test")
extend("array")

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

  it("returns all but the first from an int array", () => {
    expect_equal(array:tail([1,2,3,4]), [2,3,4])
  })

  it("returns empty when input has one element (string array)", () => {
    expect_equal(array:tail(["z"]), str_array@[])
  })

  it("returns empty for an empty int array", () => {
    expect_equal(array:tail([]), [])
  })

})