YCP List Builtins


Table of Contents

find - Search for a certain element in a list
prepend - Prepend a list with a new element
contains - Check if a list contains an element
setcontains - Check if a sorted list contains an element
union - Union of lists
merge - Merge two lists into one
filter - Filter a List
maplist - Maps an operation onto all elements of a list and thus creates a new list.
listmap - Maps an operation onto all elements of a list and thus creates a map.
flatten - Flatten List
toset - Sort list and remove duplicates
sort - Sort A List according to the YCP builtin predicate >
sort - Sort list using an expression
splitstring - Split a string
change - Change a list
add - Create a new list with a new element
size - Return size of list
remove - Remove element from a list
select - Selet a list element
foreach - Process the content of a list
tolist - Converts a value to a list.