Classes available in other languages written in wren
- Queue
- Set
- Stack
Algorithms available in class Algorithm
- none_of(list, predicate): return
true
ifpredicate
returnstrue
for no elements oflist
. - equal(list1, list2): return
true
iflist1
andlist2
have the same elements in the same order. - equal(list1, list2, predicate): return
true
ifpredicate.call(list1[i], list2[i])
returnstrue
for alli
. - generate(value, size): return a list of
size
elements all beingvalue
. - remove(list, value): remove all occurences of
value
inlist
. - remove_if(list, predicate): remove all values of
list
wherepredicate
returnstrue
. - reverse(list): reverse the order of the elements of
list
. - unique(list): remove consecutive duplicates in
list
. - min(list): return the minimum element of
list
. - max(list): return the maximum element of
list
.