getClosing()
Wrap.prototype.getClosing()
Wrap.prototype.getClosing()
Gets the closing chars of the wrap by returning the #closing
property of a specified object.
public getClosing(): Closing {
return this.#closing;
}
Returns
The return value is closing
chars of a generic type variable Closing
.
Example usage
// Example usage.
import { Wrap } from '@angular-package/wrapper';
// Returns ] of type "]".
new Wrap(`[`, `]`).getClosing();
Last updated
Was this helpful?