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. Wrap {}
  2. Methods

↓ Instance

Previousstatic isWrap()NextgetClosing()

Last updated 3 years ago

Was this helpful?

Public

public Gets the chars of the wrap by returning the property of a specified object.

public Gets the chars of the wrap by returning the property of a specified object.

public Gets the text of the wrap by returning the property of a specified object, without the and chars of the .

public Checks whether the of a specified object has the chars or given chars.

public Checks whether the of a specified object has the chars or given chars.

public The method checks whether the of a specified object is defined, which means it's a of at least one char and optionally equal to the given .

public The method checks whether the of the specified object is wrapped by the and chars of an instance or given and chars.

public Returns the with replaced chars.

public Returns the with replaced chars.

public Returns the with replaced .

public Gets the , the of a specified object.

public Returns the , of a specified object.

getClosing()
getOpening()
getText()
#text
opening
closing
Wrap
hasClosing()
primitive value
closing
hasOpening()
primitive value
opening
hasText()
text
Wrap
string
isWrapped()
primitive value
opening
closing
★ replaceClosing()
primitive value
closing
★ replaceOpening()
primitive value
opening
★ replaceText()
primitive value
text
toString()
primitive value
Wrap
valueOf()
primitive value
Wrap
closing
#closing
#opening
opening
closing
opening
wrap
wrap
text
opening
closing