Wrapper
PackagesTwitterGitHub
v1.0.x
v1.0.x
  • Introduction
  • ❤ Benefits
    • Explanation
    • Designing
  • General concepts
  • Getting started
    • Skeleton
    • Installation
      • npm
    • Public API
    • Basic concepts
  • Wrap {}
    • Overview
    • Generic type variables
    • ★ Constructor
    • Accessors
      • closing
      • opening
      • text
      • [Symbol.toStringTag]
    • Properties
      • #closing
      • #opening
      • #text
    • Methods
      • Static
        • hasClosing()
        • hasOpening()
        • isWrap()
      • Instance
        • getClosing()
        • getOpening()
        • getText()
        • hasClosing()
        • hasOpening()
        • hasText()
        • isWrapped()
        • ★ replaceClosing()
        • ★ replaceOpening()
        • ★ replaceText()
        • toString()
        • valueOf()
    • Example usage
  • Wrapper {}
    • Overview
    • Generic type variables
    • Constructor
    • Accessors
      • [Symbol.toStringTag]
    • Methods
      • Static
        • define()
        • isWrapper()
        • replaceClosing()
        • replaceOpening()
        • unwrap()
      • Instance
        • isClosingIn()
        • isOpeningIn()
        • replaceClosingIn()
        • replaceOpeningIn()
        • removeWrapIn()
        • textReplaceClosing()
        • textReplaceOpening()
        • ⚠ textHasClosing()
        • ⚠ textHasOpening()
        • textUnwrap()
        • textWrap()
        • toArray()
        • toWrap()
        • unwrap()
        • unwrapText()
        • ★ wrap()
        • ★ wrapOn()
        • ★ wrapText()
    • Example usage
  • Type
    • Wrapped
  • Change log
    • Keep a changelog
    • CHANGELOG.md
    • v1.0.0
  • GIT
    • Commit
    • Semantic Versioning
  • License
    • MIT
  • Contact
    • ⋯ Chat
    • @ Email
  • Donate
    • ฿ Cryptocurrency
    • $ Fiat
Powered by GitBook
On this page

Was this helpful?

  1. Wrapper {}
  2. Methods

Instance

Previousunwrap()NextisClosingIn()

Last updated 3 years ago

Was this helpful?

Determines whether the provided has the chars of the specified object at the end.

Checks whether the provided has the chars of a specified object at the beginning.

Replaces the chars of the object in the given with a given .

Replaces the chars of the object in the given with a given .

Returns given without the and chars of the object.

Replaces the chars of the object in the of the object with the given chars.

Replaces the chars of the object in the of the object with the given chars.

The method returns the of the object without its and chars or the given and chars.

The method returns the of the object wrapped by the given and chars.

Returns an consisting of the chars, , and chars.

Returns the instance consists of the , and chars of the object.

Returns the without the and chars.

The method returns the of a specified object with unwrapped from the and chars of the instance or given and chars.

The method wraps the of a specified object by its and chars, or the given and chars.

The method wraps the given with the wrap, the , and chars of the object.

The method returns the of the object with wrapped by given and chars.

isClosingIn()
text
closing
Wrapper
isOpeningIn()
text
opening
Wrapper
replaceClosingIn()
closing
Wrapper
text
replacement value
replaceOpeningIn()
opening
Wrapper
text
replacement value
removeWrapIn()
text
opening
closing
Wrapper
textReplaceClosing()
closing
Wrapper
text
Wrapper
closing
textReplaceOpening()
opening
Wrapper
text
Wrapper
opening
textUnwrap()
text
Wrapper
opening
closing
opening
closing
textWrap()
text
Wrapper
opening
closing
toArray()
array
opening
text
closing
toWrap()
Wrap
text
opening
closing
Wrapper
unwrap()
text
opening
closing
unwrapText()
primitive value
Wrapper
text
opening
closing
Wrapper
opening
closing
★ wrap()
primitive value
Wrapper
opening
closing
opening
closing
★ wrapOn()
text
opening
closing
Wrapper
★ wrapText()
primitive value
Wrapper
text
opening
closing