Public API
The Wrapped string object represents the immutable wrapped text.
Wrapped
closing
The getarrow-up-right accessor gets the closing of the wrap.
get
opening
The getarrow-up-right accessor gets the opening of the wrap.
text
The getarrow-up-right accessor gets the text.
value
The getarrow-up-right accessor gets the wrapped text primitive value of a specified object.
[Symbol.toStringTag]
The property, with the help of toStringTagarrow-up-right of Symbol, changes the default object tag to wrapped for an instance of the Wrapped.
toStringTag
wrapped
isWrapped()
The static method checks whether the provided value of any type is an instance of Wrapped.
template()
The static "tag" method builds the wrapped text of a string type on the template.
string
unwrap()
Returns an unwrapped text, without the opening, and closing character of the wrap.
valueOf()
Gets wrapped text, the primitive value of a specified object.
Last updated 4 years ago