VOOZH about

URL: https://docs.json-everything.net/api/JsonLogic/NoneRule/

⇱ NoneRule Class | json-everything


👁 avatar
json-everything
Library documentation
Home NoneRule Class
NoneRule Class
Cancel

NoneRule Class

Namespace: Json.Logic.Rules

Inheritance: NoneRule 🡒 Rule 🡒 object

Implemented interfaces:

  • IRule

Handles the none 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

A new version of content is available.