Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AndOrNotEvaluator

Class used to evaluate queries containing and and or operators

Hierarchy

  • AndOrNotEvaluator

Index

Methods

Methods

Static EvalSearch playground for Eval

  • Eval(query: string, evaluateCallback: (val: any) => boolean): boolean
  • Evaluate a query

    Parameters

    • query: string

      defines the query to evaluate

    • evaluateCallback: (val: any) => boolean

      defines the callback used to filter result

        • (val: any): boolean
        • Parameters

          • val: any

          Returns boolean

    Returns boolean

    true if the query matches

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method