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. is Subset(of:) - Module
- RegexPattern
- Declared in
Options- Package
- libtmux-swift
-
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:
trueif the set is a subset ofother; otherwise,false.
- Parameters
-
-
of(Self)
-
Recorded calls
source callsThe 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:).