Instance Property
hasDirectoryPath
iOS 9.0+
iPadOS 9.0+
Mac Catalyst 9.0+
macOS 10.11+
tvOS 9.0+
watchOS 2.0+
A Boolean that is true if the URL path represents a directory.
var hasDirectoryPath: Bool { get }
Instance Property
var hasDirectoryPath: Bool { get }