internal.builtin
getattr[attr: Literal[str], typ: type = NoneType](obj, default, /)
getattr[attr: Literal[str], type: type = NoneType](obj, /)
id(x, /) -> int
print(*args, sep: str = " ", end: str = "\n", file = None, flush: bool = False)
input(prompt: str = "", /) -> str
min(*args, key = None, default = None)
max(*args, key = None, default = None)
len(x, /) -> int
iter(x, /)
abs(x, /)
hash(x, /) -> int
ord(character: str, /) -> int
divmod(a, b, /)
chr(codepoint: int, /) -> str
next[T: type](g: Generator[T], default: Optional[T] = None, /) -> T
any[T: type](x: Generator[T], /) -> bool
all[T: type](x: Generator[T], /) -> bool
zip(*args)
filter[T: type](f: CallableTrait[([T], bool)], x: Generator[T], /) -> Generator[T]
map(f, /, *args)
enumerate(x, start: int = 0)
echo(x)
reversed(x, /)
round(x, ndigits = None)
sum(x, /, start = 0)
repr(x, /)
bin(n, /)
oct(n, /)
hex(n, /)
format(value, format_spec: str = "", /)
pow(base: float, exp: float)
pow(base: int, exp: int, mod: Optional[int] = None)
class Int[N]
Extends
internal.core.Int · View complete class API →
class UInt[N]
Extends
internal.core.UInt · View complete class API →
class float
Extends
internal.core.float · View complete class API →
class complex
class float32
class float16
class bfloat16
class complex64
cast[U: type](obj) -> U