Overview
Wrap {}
The Wrap
object is based on the String
object and represents the immutable primitive value of the text wrapped by the opening and closing chars. It is designed to preserve the type names of the supplied opening, text, and closing chars by using the generic type variables.
Instance
Accessors
[Symbol.toStringTag]
The |
Properties
Methods
getClosing()
Gets the closing chars of the wrap by returning the |
getOpening()
Gets the opening chars of the wrap by returning the |
hasClosing()
Checks whether the primitive value of a specified object has the |
hasOpening()
Checks whether the primitive value of a specified object has the |
isWrapped()
The method checks whether the primitive value of the specified object is wrapped by the opening and closing chars of an instance or given |
★ replaceClosing()
Returns the primitive value with replaced |
★ replaceOpening()
Returns the primitive value with replaced |
★ replaceText()
Returns the primitive value with replaced |
toString()
Gets the wrap, the primitive value of a specified |
valueOf()
Returns the wrap, primitive value of a specified |
Static
Methods
Last updated