js_sys

Function is_finite

Source
pub fn is_finite(value: &JsValue) -> bool
Expand description

The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.

MDN documentation