You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo Lindström edited this page Apr 10, 2025
·
4 revisions
String
A string.
Methods
len
Regex
An iterable. Defined with `, the regex is a string that is expanded into an iterable. For example \d would translade into the iterable ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"].
Methods
len
Int
A 64 bit integer.
Float
A 64 bit floating point number.
Bool
A boolean.
Vector
A collection of values of type T. Defined with [] and comma separated values of the same type.
Methods
len()
push(element)
pop_back() - Pop the last element (back)
pop(index) - Pop the i:th element
Any
Indicates that any type can be used. This is NOT equivalent with T in most languages.
None
Mainly used to denote that a function won't return a value.