initial function

List initial(
  1. List list
)

Implementation

List initial(List list) => list.sublist(0, list.length - 1);