Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AndOrNotEvaluator

Class used to evalaute 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

  • Property
  • Method
  • Constructor
  • Property
  • Static method