Skip to content

FuncCallExpr🔗

Represents a function call expression.

Definition🔗

type FuncCallExpr struct {
    Type string `json:"type"`
    // Name of the function.
    Function string `json:"function"`
    // Arguments.
    Args []promql.Expr `json:"args"`
}

Methods🔗

Validate🔗

Validate checks all the validation constraints that may be defined on FuncCallExpr fields for violations and returns them.

func (funcCallExpr *FuncCallExpr) Validate() error