static assert(isSomePath!WindowsPath); static assert(isSomePath!PosixPath); static assert(!isSomePath!string);
See Implementation