Wrapper
Last updated
Was this helpful?
Last updated
Was this helpful?
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 string. It can also define the in a restricted characters range.
The accessor, with the help of toStringTag
, changes the default tag to 'wrapper'
in the instance.
Defines a new instance consisting of the allowed opening and closing.
Gets the allowed characters of the type from the static .
Gets an instance of stored in the static .
The method checks if the value of any type is an instance of the .
The method sets the default pattern of allowed characters for static .
Sets a new instance of into the static .
The static method the specified text with a stored instance in the static or with a given wrap.
The method checks if the provided text
is wrapped with the wrap of the specified object.
Checks if the provided text
has a closing of the specified object.
Checks if the provided text
has an opening of the specified object.
Returns the unwrapped text, without the opening and closing of the .
Wraps specific text with the wrap, the , and of the object.