isWrap()
Last updated
Was this helpful?
Last updated
Was this helpful?
Wrap.isWrap()
The method checks whether the of any type is the instance of any or given and chars.
Opening
extends
string
=
string
Closing
extends
string
=
string
Text
extends
string
=
``
value: any
opening?: Opening
closing?: Closing
text?: Text
value is Wrap<Opening, Text, Closing>
A generic type variable constrained by the , by default of the value captured from the provided indicates the Opening
type of the instance the .
A generic type variable constrained by the , by default of the value captured from the provided indicates the Closing
type of the instance via .
A generic type variable constrained by the , by default of the value captured from the provided indicates the Text
type of the instance via .
The value of type to test against the instance of any or given and .
Optional opening chars of a generic type variable to check if the given contains.
Optional closing chars of a generic type variable to check if the given contains.
An optional text of a generic type variable to check if the given contains.
The return type is a indicating the parameter is an instance of that takes a generic type variable and .
The return value is a type indicating whether the is an instance of of any, or the given , , and .