angular-package
TwitterGitHub
Wrapper
Wrapper
  • 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
  • More versions
Powered by GitBook
On this page
  • Static
  • Public
  • Instance
  • Public

Was this helpful?

  1. Wrap {}

Methods

The static methods of `Wrap` the string object.

Static

Public

Instance

Public

Previous#textNextStatic

Last updated 3 years ago

Was this helpful?

Checks whether the has given chars at the end.

Checks whether the has given chars at the beginning.

The method checks whether the of any type is the instance of any or given and chars.

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

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

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

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

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

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 .

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

Returns the with replaced chars.

Returns the with replaced chars.

Returns the with replaced .

Gets the , the of a specified object.

Returns the , of a specified object.

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