function isPathSeparator(c) {
    return c === "/" || c === path.sep
}
Check if a char is a path separator or not.
@param {string} c The char to check.
@returns {boolean} `true` if the char is a path separator.