RegexValue
class RegexValue : NSObject, NSCopying, @unchecked SendableRepresents a regular expression type in Firestore documents.
-
The regular expression pattern
Declaration
Swift
var pattern: String { get } -
The regular expression options
Declaration
Swift
var options: String { get } -
Creates a
RegexValueconstructed with the given pattern and options.Declaration
Swift
init(pattern: String, options: String)Parameters
patternThe regular expression pattern.
optionsThe regular expression options.
-
Returns true if the given object is equal to this, and false otherwise.
Declaration
Swift
func isEqual(_ object: Any?) -> Bool