struct

KrikriJinja::ExpressionResult

Inherits Struct < Value < Object

Distinguishes an undefined expression result from an expression that legitimately evaluated to JSON null. evaluate_expression cannot make that distinction on its own, because both surface as nil.

Constructors

new(value : JSON::Any | Nil, undefined : Bool)
Source

Instance methods

undefined
Source
undefined?
Source
value
Source