Module
utils
Utilities functions.
A set of functions that are not tidly linked to the arcades logic and that can be freely used.
Info:
- edit Alexis BRENON brenon.alexis+arcades@gmail.com
Public Methods
keyboard_arrow_up-
cast ( v )
Cast a value (if possible).
If this value is a string it will try to cast it to a number, a boolean, or a table (casting its own values).
Parameters:-
v
The value to cast
- The casted value
- string The type of the returned value
-
-
load_all ()
Load all arcades packages and modules.
Note:-
Is it equivalent to
require('arcades').load_all()
?
-
Is it equivalent to
-
load_table ( t )
-
pretty_repr ( ... )
Build a prettyfied representation of anything
Parameters:-
...
Whatever you want
- string A pretty string
-
-
sample_in ( t )