isPathPartSeparator function

bool isPathPartSeparator(
  1. String part
)

Is part separator (posix/windows/url...

Implementation

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