Skip to main content

long_from_value_runtime_local

Function long_from_value_runtime_local 

Source
pub fn long_from_value_runtime_local(value: &Value) -> i64
Expand description

Converts a JSON value to an integer without panicking.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::json_commands::long_from_value_runtime_local.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::long_from_value_runtime_local("value");