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
  • Wrapper {}
  • Instance
  • Accessors
  • Methods
  • Static
  • Methods

Was this helpful?

  1. Wrapper {}

Overview

PreviousExample usageNextGeneric type variables

Last updated 3 years ago

Was this helpful?

Wrapper {}

The is an extension of the object, which means it represents the wrap of the and with the additional main ability to use it to wrap strings.

Instance

Accessors

Methods

Static

Methods

The accessor of the changes the default tag String of the instance to the custom tag Wrapper.

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.

Defines a new instance with the provided , chars, and optional .

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

Replaces given chars with a given at the end of the given .

Replaces given chars with a given at the beginning of the given .

The method returns the given without the given and chars.

toArray()
array
opening
text
closing
toWrap()
Wrap
text
opening
closing
Wrapper
unwrap()
text
opening
closing
Wrapper
Wrap
immutable
get
toStringTag
Symbol
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
opening
closing
textWrap()
text
Wrapper
unwrapText()
primitive value
Wrapper
text
opening
closing
Wrapper
★ wrap()
primitive value
Wrapper
opening
closing
★ wrapOn()
opening
closing
Wrapper
★ wrapText()
primitive value
Wrapper
text
define()
Wrapper
isWrapper()
Wrapper
replaceClosing()
replaceOpening()
unwrap()
text
replacement value
text
opening
closing
wrapper/wrapper.class.ts at main · angular-package/wrapperGitHub
Logo
text
opening
closing
​[Symbol.toStringTag]
text
replaceOpeningIn()
text
replacement value
closing
closing
opening
closing
opening
opening
closing
value
opening
closing
text
opening
closing
text
text
opening
closing
opening
closing
Page cover image
opening
closing
text
closing
replacement value
text
opening
replacement value
text