Contents

hasDirectoryPath

A Boolean value that indicates whether the URL string’s path represents a directory.

Declaration

var hasDirectoryPath: Bool { get }

Discussion

This property doesn’t check the resource the URL refers to.

See Also

Modifying and Converting a File URL