Is part separator (posix/windows/url...
bool isPathPartSeparator(String part) => part == windows.separator || part == url.separator;