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

Was this helpful?

Edit on GitHub
  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

public Static

Methods

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

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.

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

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

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

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

public static 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
wrapper/wrapper.class.ts at main · angular-package/wrapperGitHub
opening
closing
Logo
text
replaceOpeningIn()
text
replacement value
text
closing
opening
closing
closing
opening
closing
opening
opening
closing
text
opening
closing
opening
closing
​[Symbol.toStringTag]
opening
closing
text
value
opening
closing
text
opening
replacement value
text
text
opening
closing
closing
replacement value
text
Page cover image