getClosing()
Last updated
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;
}The return value is closing chars of a generic type variable Closing.
// Example usage.
import { Wrap } from '@angular-package/wrapper';
// Returns ] of type "]".
new Wrap(`[`, `]`).getClosing();Last updated