pub fn starts_with(value: &str, prefix: &str) -> boolExpand description
Tests whether one string begins with another string.
§Parameters
value: Input consumed bycrate::platform::starts_with.prefix: Input consumed bycrate::platform::starts_with.
§Returns
Returns true when the condition checked by crate::platform::starts_with holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::platform::starts_with("value", todo!());§Related
crate::platformfor adjacent helpers that share the same runtime surface.