variable_exists($name) Check whether a variable with the given name exists in the current scope or in the global scope.
red($color) Gets the red component of a color. Calculated from HSL where necessary via
map_values($map) Returns a list of all values in a map. This list may include duplicate values, if multiple keys have the
min($numbers...) Finds the minimum of several numbers. This function takes any number of arguments.
quote($string) Add quotes to a string if the string isn’t quoted, or returns the same string if it is.
random random($limit)
ceil($number) Rounds a number up to the next whole number.
to_upper_case($string) Converts a string to upper case.
global_variable_exists($name) Check whether a variable with the given name exists in the global scope (at the top level of
map_keys($map) Returns a list of all keys in a map.
Page 6 of 9