Instance Property

deletingPathExtension

A URL created by taking the receiver and removing the path extension, if any. (read-only)

Declaration

var deletingPathExtension: URL? { get }

Discussion

If the receiver represents the root path, this property contains a copy of the original URL. If the URL has multiple path extensions, only the last one is removed.