Last updated 3 years ago
Was this helpful?
Wrap.prototype.valueOf()
Returns the , of a specified object.
public valueOf(): `${Opening}${Text}${Closing}` { return super.valueOf() as `${Opening}${Text}${Closing}`; }
${Opening}${Text}${Closing}
// Example usage. import { Wrap } from '@angular-package/wrapper'; // Returns [quote] of type "[quote]". new Wrap(`[`, `]`, 'quote').valueOf();
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