extra_utils.is_effectively_integer()

VmaxBuilder.utils.extra_utils.is_effectively_integer(value: Any) bool[source]

Generated: validation needed.

Description:

Check whether value can be represented as integer without remainder.

Parameters:

value (Any) – Candidate numeric value.

Returns:

bool – True when float conversion succeeds and is integer-like.