Variable Definition
Variables can be defined using the v()- function. This function takes the name and type as positional arguments. The constant OPTIONAL or its value can be passed as well to make a variable optional.
Supported types are
- bool
- int
- float
- str
- RegexType
def v(name: string, type: Callable | RegexType, /, *args) -> TypedVarDefinition
- name:
^[a-zA-Z_]+[a-zA-Z0-9_]*$ - args
OPTIONAL: Makes a variable optional