Table of contents

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