★ replaceClosing()
Wrap.prototype.replaceClosing()
Wrap.prototype.replaceClosing()
Returns the primitive value with replaced closing
chars.
wrap.class.ts
Generic type variables
ReplaceClosing
extends
string
=
''
ReplaceClosing
extends
string
=
''
A generic type variable constrained by the string
, by default of the value captured from the provided closing
indicates the ReplaceClosing
type on the template of the return type.
Parameters
closing: replaceClosing
closing: replaceClosing
The closing chars of a generic type variable ReplaceClosing
to replace the closing
chars in the primitive value.
Return type
${Opening}${Text}${ReplaceClosing}
${Opening}${Text}${ReplaceClosing}
The return type is template literal of generic type variables in order Opening
, Text
and ReplaceClosing
.
Returns
The return value is the primitive value with replaced closing
chars of a generic type variables in order Opening
, Text
and ReplaceClosing
on the template.
Example usage
Last updated