pub fn payload_first_long(value: &Value) -> Option<i64>Expand description
Returns the first positive integer in a payload.
§Parameters
value: Input consumed bycrate::runtime::json_commands::payload_first_long.
§Returns
Returns Some when crate::runtime::json_commands::payload_first_long can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::payload_first_long.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::payload_first_long("value");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.