deletingPathExtension
A URL you create by removing the path extension from the receiver, 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.