Contents

contains(_:)

Determines whether the supplied compression options are all present in the current instance.

Declaration

func contains(_ options: NSUserInterfaceCompressionOptions) -> Bool

Parameters

  • options:

    A compression options object to compare with the current instance.

Return Value

Returns true if all the supplied options are present in the instance’s options, or false otherwise.

See Also

Comparing compression options