hasColors
A Boolean value that indicates whether the pasteboard contains contains a nonempty array of colors.
Declaration
var hasColors: Bool { get }Discussion
Employ this property to determine if a pasteboard contains color data.
Do not use the color or colors properties to determine whether a pasteboard contains color data, because doing so consumes resources needlessly.