Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-swift

Options.isSubset(of:)

Returns a Boolean value that indicates whether the set is a subset of another set.

Source and package
Qualified name
RegexPattern.Options.isSubset(of:)
Module
RegexPattern
Declared in
Options
Package
libtmux-swift
isSubset(of: Self) -> Bool

Inherited from SetAlgebra.isSubset(of:)

Description

Set A is a subset of another set B if every member of A is also a member of B.

let employees: Set = ["Alicia", "Bethany", "Chris", "Diana", "Eric"] let attendees: Set = ["Alicia", "Bethany", "Diana"] print(attendees.isSubset(of: employees)) // Prints "true"

  • Parameter other: A set of the same type as the current set.
  • Returns: true if the set is a subset of other; otherwise, false.
Parameters
  • of (Self)

Recorded calls

source calls
No call edges in the Swift model.

The Swift reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls RegexPattern.Options.isSubset(of:).

Esc
Search in

Type to search.

Reference previewOpen reference