Function computeValue

  • Computes the value of the expression on the object for the given operator

    Parameters

    • obj: unknown

      the current object from the collection

    • expr: unknown

      the expression for the given field

    • operator: string

      the operator to resolve the field with

    • Optional options: Options

      {Object} extra options

    Returns Any