Module utilities

Source

Functionsยง

contains_whitespace
Check if a variable contains whitespaces and return a bool
current_time
Fetch the current time in a given time format
escape_ansi
Escape ansi characters from a string
is_empty_or_whitespace
Check if a variable is empty or contains whitespaces
ms_sleep
Simplified version of thread:sleep() for waiting x milliseconds
sleep
Simplified version of thread:sleep() for waiting x seconds
type_of
Get the type of a variable
unix_time
Get current unix epoch time