Visitar URL original
FirebaseFirestore Framework Reference

FirebaseFirestore Framework Reference

RegexValue

class RegexValue : NSObject, NSCopying, @unchecked Sendable

Represents 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 RegexValue constructed with the given pattern and options.

    Declaration

    Swift

    init(pattern: String, options: String)

    Parameters

    pattern

    The regular expression pattern.

    options

    The regular expression options.

  • Returns true if the given object is equal to this, and false otherwise.

    Declaration

    Swift

    func isEqual(_ object: Any?) -> Bool