is_absolute

Function is_absolute 

Source
pub fn is_absolute<T: Debug + Display>(arg_string_path: &T) -> bool
Expand description

Returns true if the string is an absolute path

§Arguments

  • arg_string_path: string-like

§Examples

let result = is_absolute( &“/A/B/C” ); assert_eq!( result, true, );