is_separator

Function is_separator 

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

Determines whether the character is one of the permitted path separators for the current platform.

§Examples

use uni_path as path;

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