AndOrNotEvaluator

Class used to evalaute queries containing and and or operators

Hierarchy

  • AndOrNotEvaluator

Index

Methods

Methods

Static Eval

  • Eval(query: string, evaluateCallback: function): boolean
  • Evaluate a query

    Parameters

    • query: string

      defines the query to evaluate

    • evaluateCallback: function

      defines the callback used to filter result

        • (val: any): boolean
        • Parameters

          • val: any

          Returns boolean

    Returns boolean

    true if the query matches

Generated using TypeDoc