Built-in Functions
Built-in functions, which can be called in every Kipper program without importing any other file. These are specifically implemented for their specific target, so the implementation results might differ depending on whether you are using Node.js or a browser environment.
List of all Built-in Functions
List of all built-in functions, which are usable in the current release of Kipper.
print(msg: str) -> void
Since v0.1.0
Prints the specified string msg
onto stdout/the console of the specific platform.
This function under the hood console.log()
in both Node.js and Browser environments.
List of supported environments
Platform | Status |
---|---|
Node.js | Supported ✓ |
Native JS (Browser) | Supported ✓ |
len(iterable: str) -> num
Since v0.10.0
Returns the length of the specified iterable iterable
.
Though note that at the current stage of development, only strings are supported, since iterables such as lists are yet to be implemented and will be released in the future. For more info regarding the development schedule please go here.
List of supported environments
Platform | Status |
---|---|
Node.js | Supported ✓ |
Native JS (Browser) | Supported ✓ |