Documentation
    Preparing search index...
    eval_expression: (
        expression: string,
        row?: any,
        user?: any,
        errorLocation?: string,
    ) => any

    Type Declaration

      • (expression: string, row?: any, user?: any, errorLocation?: string): any
      • Evaluate a JavaScript expression in the context of a row.

        Parameters

        • expression: string

          The JavaScript expression to evaluate.

        • Optionalrow: any

          The current row data, whose fields are destructured as variables.

        • Optionaluser: any

          The current user object, available as user in the expression.

        • OptionalerrorLocation: string

          Optional label included in error messages to identify where the expression was used.

        Returns any

        • The result of evaluating the expression.