@launchdarkly/react-native-client-sdk - v10.23.2
    Preparing search index...

    Class AttributeReference

    Index
    • Take an attribute reference string, or literal string, and produce an attribute reference.

      Legacy user objects would have been created with names not references. So, in that case, we need to use them as a component without escaping them.

      e.g. A user could contain a custom attribute of /a which would become the literal a if treated as a reference. Which would cause it to no longer be redacted.

      Parameters

      • refOrLiteral: string

        The attribute reference string or literal string.

      • Optionalliteral: boolean

        it true the value should be treated as a literal.

      Returns AttributeReference

    isValid: boolean
    redactionName: string

    When redacting attributes this name can be directly added to the list of redactions.

    InvalidReference: AttributeReference

    For use as invalid references when deserializing Flag/Segment data.

    • get components(): string[]

      Returns string[]

    • get depth(): number

      Returns number

    • get isKind(): boolean

      Returns boolean

    • Parameters

      • depth: number

      Returns string