Contents

hasURLs

A Boolean value that indicates whether the pasteboard contains a nonempty array of URLs.

Declaration

var hasURLs: Bool { get }

Discussion

Employ this property to determine if a pasteboard contains URL data.

Do not use the url or urls properties to determine whether a pasteboard contains URL data, because doing so consumes resources needlessly.

See Also

Checking for data types on a pasteboard