Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Match

Match

Hierarchy

Implements

  • Term

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Match(field: string, operator: string, value: Value): Match
  • Parameters

    • field: string
    • operator: string
    • value: Value

    Returns Match

Properties

field

field: string

operator

operator: string

type

type: string = TYPE_MATCH

value

value: Value

Methods

compile

  • compile(): Except<Object>

fold

  • fold<A>(prev: A, f: FoldFunc<Object, A>): A
  • Type parameters

    • A

    Parameters

    • prev: A
    • f: FoldFunc<Object, A>

    Returns A

Static create

  • create(field: FieldName, operator: Operator, value: Value): Term
  • Parameters

    • field: FieldName
    • operator: Operator
    • value: Value

    Returns Term

Generated using TypeDoc