Site under construction! :3
Typesξ―
By default, and object's type can be changed simply by re-assigning its value. This behaviour can be prevented by locking the variable with lock
or lock_type
.
Primitive typesξ―
Boolean (bool
) 1.0.0ξ―
The boolean
type represents a truth value. It has exactly two constant states: true
or false
.
Number (num
) 1.0.0ξ―
The number
type represents a numeric value. The number
class serves as a umbrella class for the following subtypes:
string
ξ―
Collectionsξ―
array
ξ―
dictionary
ξ―
tuple
ξ―
1.0.0 Immutable
Objectsξ―
error
ξ―
function
ξ―
generator
ξ―
object
ξ―
Special typesξ―
any
ξ―
1.0.0 Pseudo-type Unassignable
The pseudo-type any
represents an object that can be of any supported type.
index
ξ―
1.0.0 Pseudo-type Unassignable
infinity
ξ―
1.0.0 Constant
nan
ξ―
1.0.0 Pseudo-type Unassignable Untypable
none
ξ―
1.0.0 Constant
The type none
assigns a none-value to a variable.
undefined
ξ―
1.0.0 Pseudo-type Unassignable Untypable
The pseudo-type undefined
represents an object that does not exist or one that has no associated value.