Skip to main content

state_find_user_by_id

Function state_find_user_by_id 

Source
pub fn state_find_user_by_id(text: &str, user_id: i64) -> Option<String>
Expand description

Finds a state user by numeric id.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::state_find_user_by_id 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::state_find_user_by_id.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::state_find_user_by_id("{}", 1);