Wrapper

The Wrapperarrow-up-right is an extension of the Wrap object, which means it represents the immutablearrow-up-right wrap of the opening and closing with the additional main ability to use it to wrap strings.

Instance accessors

Name
Description

The getarrow-up-right accessor, with the help of toStringTag, changes the default tag to 'wrapper' in the Wrapper instance.

Static methods

Wrapper.
Description

Defines a new Wrapper instance consisting of the opening and closing chars.

The method checks if the value of any type is an instance of the Wrapper of any, or given opening and closing chars.

replaceClosing()

replaceOpening()

unwrap()

Instance methods

Wrapper.prototype.
Description

isClosingIn()

isOpeningIn()

replaceClosingIn()

replaceOpeningIn()

removeWrapIn()

textReplaceClosing()

textReplaceOpening()

textUnwrap()

textWrap()

toArray()

toWrap()

unwrap()

unwrapText()

wrap()

wrapOn()

wrapText()

Last updated