Static methods
Public
Wrapped.isWrapped()
Wrapped.isWrapped()
The static method checks whether the provided value
of any type is an instance of Wrapped
.
Generic type variables |
---|
Parameters
Name: type | Description |
---|---|
| The value of any type to test against the |
| An optional opening of the |
| An optional closing of the |
Returns
Return type |
---|
The return type is a |
The return value is a boolean
indicating whether the value is the Wrapped
instance of any or given wrap.
Example usage
Wrapped.template()
Wrapped.template()
The static "tag" method builds the wrapped text of a string
type on the template literal. It consists of a text
and an instance of Wrap
.
Parameters
Name: type | Description |
---|---|
| An array of |
| A rest parameter of expressions, where the first element is the text and the second is an instance of |
Returns
The return value is a string
the wrapped text, or an empty string
if elements of the provided values
are not string
.
Example usage
Last updated