Generic type variables
Wrap<Opening, ...>
Wrap<Opening, ...>Opening extends string
A generic type variable constrained by the string, by default of the value captured from the provided opening indicates the opening type of a new Wrap instance.
Wrap<..., Closing>
Wrap<..., Closing>Closing extends string
A generic type variable constrained by the string, by default of the value captured from the provided closing indicates the closing type of a new Wrap instance.
class Wrap<
Opening extends string = string,
Closing extends string = string
> extends String ...Last updated
Was this helpful?