Function is_separator

Source
pub fn is_separator(c: char) -> bool
Expand description

Determines whether the character is the permitted path separator for Unix, /.

§Examples

assert!(unix_path::is_separator('/'));
assert!(!unix_path::is_separator('❤'));