Contents

hasImages

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

Declaration

var hasImages: Bool { get }

Discussion

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

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

See Also

Checking for data types on a pasteboard