Function isSep [src]

Returns if the given byte is a valid path separator

Prototype

pub fn isSep(byte: u8) bool

Parameters

byte: u8

Source

pub fn isSep(byte: u8) bool { return switch (native_os) { .windows => byte == '/' or byte == '\\', .uefi => byte == '\\', else => byte == '/', }; }