Wrapper
PackagesTwitterGitHub
Draft
Draft
  • Introduction
  • ❤ Benefits
    • Explanation
    • Designing
  • General concepts
  • Getting started
    • Skeleton
    • Installation
      • npm
    • Public API
    • Basic concepts
  • Wrap {}
    • Overview
    • Generic type variables
    • ★ Constructor
    • Accessors
      • get closing()
      • get opening()
      • get text()
      • get [Symbol.toStringTag]()
    • Properties
      • #closing
      • #opening
      • #text
    • Methods
      • ↓ Static
      • static hasClosing()
      • static hasOpening()
      • static isWrap()
      • ↓ Instance
      • getClosing()
      • getOpening()
      • getText()
      • hasClosing()
      • hasOpening()
      • hasText()
      • isWrapped()
      • ★ replaceClosing()
      • ★ replaceOpening()
      • ★ replaceText()
      • toString()
      • valueOf()
    • Example usage
  • Wrapper {}
    • Overview
    • Generic type variables
    • Constructor
    • Accessors
      • get [Symbol.toStringTag]()
    • Methods
      • ↓ Static
      • static define()
      • static isWrapper()
      • static replaceClosing()
      • static replaceOpening()
      • static 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
  • Social
    • Gettr
    • Twitter
    • YouTube
  • Contact
    • ⋯ Chat
    • @ Email
    • ✆ Phone
  • Donate
    • ฿ Cryptocurrency
    • $ Fiat
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Wrapper {}
  2. Methods

↓ Instance

Previousstatic unwrap()NextisClosingIn()

Last updated 3 years ago

Was this helpful?

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

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

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

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

public Returns given without the and chars of the object.

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

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

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

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

public Returns an consisting of the chars, , and chars.

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

public Returns the without the and chars.

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

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

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

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

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