The Wrap
object represents the immutable wrap of the opening and closing. It is designed to preserve the names of the opening and closing.
Instance accessors
Wrap.prototype.
Decription
The get
accessor gets the closing of the wrap by returning the #closing
property of the specified object.
The get
accessor gets the opening of the wrap by returning the #opening
property of the specified object.
The get
accessor gets the wrap consisting of the opening and closing.
The get
accessor gets the wrap consisting of the opening and closing.
The get
accessor, with the help of toStringTag
of Symbol, changes the default object tag to wrap
for an instance of the Wrap
.
Static methods
The method checks if the value of any type is the Wrap
instance of any or given opening and closing.
The static "tag" method builds the wrap of a string
type on the template. With the added string before the expressions, it returns a wrapped string.
Instance methods
Wrap.prototype.
Description
Gets the closing of the wrap by returning the #closing
property of the specified object.
Gets the opening of the wrap by returning the #opening
property of the specified object.
Returns the wrap, primitive value of the specified Wrap
object.