/**
 * Determine if the given path is a Windows path.
 *
 * @param  string $path Path to check.
 *
 * @return bool true if windows path, false otherwise
 */
public function isWindowsPath(string $path): bool

Examples

if ($filesystem->isWindowsPath('C:\file\1.txt')) {
    // do something...
}

Getting Started

Methods

Filesystem
File
Directory