@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
15 lines (14 loc) • 493 B
TypeScript
/**
* Class used to evaluate queries containing `and` and `or` operators
*/
export declare class AndOrNotEvaluator {
/**
* Evaluate a query
* @param query defines the query to evaluate
* @param evaluateCallback defines the callback used to filter result
* @returns true if the query matches
*/
static Eval(query: string, evaluateCallback: (val: any) => boolean): boolean;
private static _HandleParenthesisContent;
private static _SimplifyNegation;
}