Standard library functions for the Escape Scripting Language
Returns a UNIX timestamp
Logical AND operation
Logical OR operation
Logical NOT operation
Returns true if first argument is less than or equal to the second argument
Returns true if first argument is greater than second argument
Returns true if first argument is greater than or equal to second argument
Returns true if first argument is less than the second argument
Returns its argument
Returns true if the arguments are of the same type and have the same value
Lookup key in environment. Usually called implicitly when using ‘$’
Join concatenates the elements of a to create a single string. The separator string sep is placed between elements in the resulting string.
Index a list at position
n. Usually accessed implicitly using indexing syntax (eg.
Returns the length of the list
Slice a list. Usually accessed implicitly using slice syntax (eg.
Returns a slice of the string s, with all leading and trailing white space removed, as defined by Unicode.
Encode string to base64
Decode string from base64
Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators. If sep is empty, Split splits after each UTF-8 sequence.
Returns true if the path exists, false if not
Returns true if the path exists and if it’s not a directory, false otherwise
Returns true if the path exists and if it is a directory, false otherwise
Track major version
Concatate stringable arguments
Returns a copy of the string v with all Unicode characters mapped to their title case
Track minor version
Track patch version
Returns a copy of the string v with all Unicode characters mapped to their upper case
Replace returns a copy of the string s with the first n non-overlapping instances of old replaced by new. If old is empty, it matches at the beginning of the string and after each UTF-8 sequence, yielding up to k+1 replacements for a k-rune string. If n < 0, there is no limit on the number of replacements.
Returns a copy of the string v with all Unicode characters mapped to their lower case
Read the contents of a file
Add two integers