Last updated 3 years ago
Was this helpful?
Wrap.prototype.toString()
Gets the , the of a specified object.
public toString(): `${Opening}${Text}${Closing}` { return super.toString() as `${Opening}${Text}${Closing}`; }
${Opening}${Text}${Closing}
// Example usage. import { Wrap } from '@angular-package/wrapper'; // Returns [quote] of type "[quote]". new Wrap(`[`, `]`, 'quote').toString();
The return type is the of generic type variables in order , and .
The return value is the wrap of generic type variables in order , , and on the template.
Wrap
Opening
Text
Closing