Amazon Vinyl
    Preparing search index...

    Class TokenizedInfo

    Index
    parts: UserAgentPart[]
    • Given an expression of logical operators, returns the name and version of the part that matches the expression.

      Logical operators currently supported: | for OR and & for AND. Operands between operators will be tokenized via tokenizeWords.

      Parameters

      • expr: string

        The expression of tokens and operators. Example: 'windows phone|windows&mobile' will match when one part has both 'windows' and 'phone' or there are two parts, one with 'windows' and another part with 'mobile' (Case insensitive)

      Returns UaSystemInfo | null