Builtins
Built-in symbols of Indie language.
Variables
Functions
abs()
function
Overloads
Returns the absolute value of a number. It is a built-in Indie function (similar to Python’s).
Returns the absolute value of a number. It is a built-in Indie function (similar to Python’s).
len()
function
Overloads
Returns the length (the number of items) of an object. It is a built-in Indie function (similar to Python’s).
max()
function
Overloads
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the largest of two or more arguments. It is a built-in Indie function (similar to Python’s).
min()
function
Overloads
Returns the smallest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the smallest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the smallest of two or more arguments. It is a built-in Indie function (similar to Python’s).
Returns the smallest of two or more arguments. It is a built-in Indie function (similar to Python’s).
range()
function
Overloads
Creates a list containing the specified range of numbers that is used in for
loops. It is a built-in Indie function (similar to Python’s).
range
and is ineffective. This will be fixed in future versions of Indie.Creates a list containing the specified range of numbers that is used in for
loops. It is a built-in Indie function (similar to Python’s).
range
and is ineffective. This will be fixed in future versions of Indie.round()
function
Overloads
Returns number rounded to ndigits precision after the decimal point. If ndigits is omitted or is None, it returns the nearest integer to its input. It is a built-in Indie function (similar to Python’s).
Returns number rounded to ndigits precision after the decimal point. If ndigits is omitted or is None, it returns the nearest integer to its input. It is a built-in Indie function (similar to Python’s).
sum()
function
Overloads
Sums start and the items of a list from left to right and returns the total. It is a built-in Indie function (similar to Python’s).
Sums start and the items of a list from left to right and returns the total. It is a built-in Indie function (similar to Python’s).
Types
bool
type
Built-in Indie type (similar to Python’s).
Methods
Cast constructor for built-in Indie type. Returns a bool
value, i.e. one of True
or False
. The argument is converted using the standard Python’s truth testing procedure. If the argument is false or omitted, this returns False
; otherwise, it returns True
.
Cast constructor for built-in Indie type. Returns a bool
value, i.e. one of True
or False
. The argument is converted using the standard Python’s truth testing procedure. If the argument is false or omitted, this returns False
; otherwise, it returns True
.
Cast constructor for built-in Indie type. Returns a bool
value, i.e. one of True
or False
. The argument is converted using the standard Python’s truth testing procedure. If the argument is false or omitted, this returns False
; otherwise, it returns True
.
Cast constructor for built-in Indie type. Returns a bool
value, i.e. one of True
or False
. The argument is converted using the standard Python’s truth testing procedure. If the argument is false or omitted, this returns False
; otherwise, it returns True
.
Cast constructor for built-in Indie type. Returns a bool
value, i.e. one of True
or False
. The argument is converted using the standard Python’s truth testing procedure. If the argument is false or omitted, this returns False
; otherwise, it returns True
.
dict[K, V]
type
Built-in Indie type (similar to Python’s).
float
type
Built-in Indie type (similar to Python’s).
Methods
Cast constructor for built-in Indie type. Returns a float
number constructed from a number or a string.
Cast constructor for built-in Indie type. Returns a float
number constructed from a number or a string.
Cast constructor for built-in Indie type. Returns a float
number constructed from a number or a string.
int
type
Built-in Indie type (similar to Python’s).
Methods
Cast constructor for built-in Indie type. Returns an int
object constructed from a number or a string, or return 0 if no arguments are given.
Cast constructor for built-in Indie type. Returns an int
object constructed from a number or a string, or return 0 if no arguments are given.
Cast constructor for built-in Indie type. Returns an int
object constructed from a number or a string, or return 0 if no arguments are given.
list[T]
type
Built-in Indie type (similar to Python’s).
Methods
NoneType
type
Builtin Indie type (similar to Python’s None
type).
str
type
Built-in Indie type (similar to Python’s).
Methods
Cast constructor for built-in Indie type. Returns a str
version of object.
Cast constructor for built-in Indie type. Returns a str
version of object.
Cast constructor for built-in Indie type. Returns a str
version of object.
tuple[...]
type
Built-in Indie type (similar to Python’s).
Was this page helpful?