Class: abstract Undefined
The base class for objects wrapping undefined variables found in Liquid templates.
Extended by
Constructors
new Undefined()
new Undefined(
name,object?,hint?):Undefined
Create a new Undefined object.
Parameters
• name: string
The name of the undefined variable.
• object?: unknown
The target object which does not have a property with the given name.
• hint?: string
Optionally override the default "undefined" message.
Returns
Defined in
Properties
hint?
readonlyoptionalhint:string
Optionally override the default "undefined" message.
Defined in
name
readonlyname:string
The name of the undefined variable.
Defined in
object?
readonlyoptionalobject:unknown
The target object which does not have a property with the given name.
Defined in
Methods
poke()
poke():
void
Prompt the undefined type to throw an error.
Returns
void
Defined in
toString()
toString():
string
Returns
string