params.Expression class

Signature:

export declare abstract class Expression<T extends string | number | boolean | string[]> 

Methods

Method Modifiers Description
toCEL() Returns the Expression's representation as a braced CEL expression.
toJSON()
value() Returns the Expression's runtime value, based on the CLI's resolution of params.

params.Expression.toCEL()

Returns the Expression's representation as a braced CEL expression.

Signature:

toCEL(): string;

Returns:

string

params.Expression.toJSON()

Signature:

toJSON(): string;

Returns:

string

params.Expression.value()

Returns the Expression's runtime value, based on the CLI's resolution of params.

Signature:

value(): T;

Returns:

T