python_project_template_AS.utils#

Tiny helper utilities used by the examples and tests.

Only lightweight predicates live here to keep the package dependency-free and easy to read.

Functions

is_number(x)

Return True if x is int or float.

python_project_template_AS.utils.is_number(x)[source]#

Return True if x is int or float.

Return type:

bool

Parameters:

x (Any)