contains(_:caseSensitive:)
Returns a check that the reply’s text contains the value.
Declaration
static func contains(_ value: String, caseSensitive: Bool = true) -> SiriResponse.TextDiscussion
Case-sensitive unless caseSensitive is false. Ignoring case suits a word Siri may capitalize or not (honeymoon), where a flight number or a name the person gave is better checked exactly. value is always plain text, never a pattern.