Instance Property


A boolean value that determines whether the receiver is a file URL.


var isFileURL: Bool { get }


The property’s value is true if the receiver uses the file scheme, false otherwise. Both file path and file reference URLs are considered to be file URLs.

If this property’s value is true, then the receiver’s path property contains a suitable value for input into FileManager or NSPathUtilities.