recreateTree

Recreates the tree from a given array of entities by applying the correct operands for each expression and adjusting the search values to be the correct type.

Signature

recreateTree(tree: IExpressionTree, entities: EntityType[], isRoot: boolean): IExpressionTree

Defined in projects/igniteui-angular/core/src/data-operations/expressions-tree-util.ts:181

Parameters

  • tree: IExpressionTree

    The expression tree to recreate.

  • entities: EntityType[]

    An array of entities to use for recreating the tree.

  • isRoot: boolean

Returns

IExpressionTree

The recreated expression tree.