Type Aliasswift 6.0.3FoundationEssentials
Output
- iOS
- 18+
- macOS
- 15+
- tvOS
- 18+
- watchOS
- 11+
typealias Output = Bool
typealias Output = Bool
s20FoundationEssentials20PredicateExpressionsO19StringContainsRegexV6Outputa
What are these?40YAE
import FoundationEssentials
struct StringContainsRegex<Subject, Regex> where Subject : PredicateExpression, Regex : PredicateExpression, Subject.Output : BidirectionalCollection, Regex.Output : RegexComponent, Subject.Output.SubSequence == Substring
@frozen enum PredicateExpressions
@frozen struct Bool
A value type whose instances are either true
or false
.
init(subject: Subject, regex: Regex)
var description: String { get }
let regex: Regex
let subject: Subject
func evaluate(_ bindings: PredicateBindings) throws -> Bool