distributions.is_numeric()

Validates that a value is a number (int or float).

Usage

Source

distributions.is_numeric(
    value,
    name,
)