Home MinRule Class
MinRule Class
Cancel

MinRule Class

Namespace: Json.Logic.Rules

Inheritance: MinRule 🡒 Rule 🡒 object

Handles the min operation.

Methods

Apply(JsonNode data, JsonNode contextData)

Applies the rule to the input data.

Declaration

1
public override JsonNode Apply(JsonNode data, JsonNode contextData)
ParameterTypeDescription
dataJsonNodeThe input data.
contextDataJsonNodeOptional secondary data. Used by a few operators to pass a secondary data context to inner operators.

Returns

The result of the rule.

Contents