isDirSeparator

fnbool isDirSeparator(dchar c) @safe pure nothrow @nogc

Determines whether the given character is a directory separator.

On Windows, this includes both `\` and `/`. On POSIX, it's just `/`.