Lists

Actions

Name Description Example
fad Length of the list fad([1, 2, 3]) == 3

Members

Values

Name Description Example
fad Length of the list fad@[1, 2, 3] == 3

Actions

Name Description Example
sortáil Sort the list sórtáil@[3, 2, 1] == [1, 2, 3]
cuid Get a list from the list from some position to some other position cuid@[1, 2, 3](0, 2) == [1, 2]
nasc Create text from the list, joining members of the list with some value nasc@[1, 2, 3](',') == "1,2,3"
cóip Create a copy of the list cóip@[1, 2, 3]() == [1, 2, 3]
scrios Remove a member from the list at a given position scrios@[1, 2, 3](0) == [2, 3]
scrios_cúl Remove the last member of the list scrios_cúl@[1, 2, 3]() == [1, 2]
aimsigh Return the position of a member of a list (or -1 if there is no such member) aimsigh@[1, 2, 3](2) == 1
cuir_le Append a value to the end of the list cuir_le@[1, 2, 3](4) == [1, 2, 3, 4]

Nuashonraíodh: