Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to evaluate queries containing and and or operators

Hierarchy

  • AndOrNotEvaluator

Index

Constructors

Methods

Constructors

Methods

  • 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
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme