Wrapped

Public API

The Wrapped string object represents the immutable wrapped text.

Instance accessors

Wrapped.prototype.Decription

The get accessor gets the closing of the wrap.

The get accessor gets the opening of the wrap.

The get accessor gets the text.

The get accessor gets the wrapped text primitive value of a specified object.

The property, with the help of toStringTag of Symbol, changes the default object tag to wrapped for an instance of the Wrapped.

Static methods

Wrapped.Description

The static method checks whether the provided value of any type is an instance of Wrapped.

The static "tag" method builds the wrapped text of a string type on the template.

Instance methods

Wrapped.prototype.Description

Returns an unwrapped text, without the opening, and closing character of the wrap.

Gets wrapped text, the primitive value of a specified object.

Last updated