Skip to content

Null

Null implements CEL null.

new Null(): Null

Null

convertToNative(typeDesc?): unknown

ConvertToNative converts the Value to a native TypeScript value according to the provided type description, or throws if the conversion is not feasible.

unknown

unknown

Val.convertToNative


convertToType(typeValue): Val

ConvertToType supports type conversions between CEL value types supported by the expression language.

RefType

Val

Val.convertToType


equal(other): Val

Equal returns true if the other value has the same type and content as the implementing value.

Val

Val

Val.equal


isZeroValue(): boolean

IsZeroValue returns true as null always represents an absent value.

boolean


type(): RefType

Type returns the TypeValue of the value.

RefType

Val.type


value(): NullValue

Value returns the raw value of the instance which may not be directly compatible with the expression language types.

NullValue

Val.value