Instance accessors
The properties of `Wrap` the string object.
Public
Wrap.prototype.closing
Wrap.prototype.closing
The get
accessor gets the closing of the wrap by returning the #closing
property of the specified object.
Returns
The return value is the wrap closing of a generic type variable Closing
.
Wrap.prototype.opening
Wrap.prototype.opening
The get
accessor gets the opening of the wrap by returning the #opening
property of the specified object.
Returns
The return value is the wrap opening of a generic type variable Opening
.
Wrap.prototype.wrap
Wrap.prototype.wrap
The get
accessor gets the wrap consisting of the opening and closing.
Returns
The return value is the wrap of a generic type variable in order Opening
and Closing
on the template.
Wrap.prototype.value
Wrap.prototype.value
The get
accessor gets the wrap consisting of the opening and closing.
Returns
The return value is the wrap of a generic type variable in order Opening
and Closing
on the template.
[Symbol.toStringTag]
[Symbol.toStringTag]
The get
accessor, with the help of toStringTag
of Symbol, changes the default object tag to wrap
for an instance of the Wrap
.
Good to know: The property can be read by the typeOf()
function of the type package.
Example usage
Last updated