Instance methods
Public
Wrap.prototype.getClosing()
Wrap.prototype.getClosing()Gets the closing of the wrap by returning the #closing property of the specified object.
public getClosing(): Closing {
return this.#closing;
}Returns
The return value is the wrap closing of a generic type variable Closing.
Wrap.prototype.getOpening()
Wrap.prototype.getOpening()Gets the opening of the wrap by returning the #opening property of the specified object.
public getOpening(): Opening {
return this.#opening;
}Returns
The return value is the wrap opening of a generic type variable Opening.
Wrap.prototype.getWrap()
Wrap.prototype.getWrap()Gets the wrap, primitive value consists of the opening and closing.
public get(): `${Opening}${Closing}` {
return this.valueOf();
}Returns
The return value is the wrap consists of the opening and closing of a generic type variable Opening and Closing on the template.
Wrap.prototype.valueOf()
Wrap.prototype.valueOf()Returns the wrap, primitive value of the specified Wrap object.
public valueOf(): `${Opening}${Closing}` {
return super.valueOf() as `${Opening}${Closing}`;
}Returns
The return value is a generic type variable Opening and Closing on the template, if properly defined, or an empty string.
Last updated
Was this helpful?