hasOpening()
Wrap.prototype.hasOpening()
Wrap.prototype.hasOpening()public hasOpening(opening?: string): boolean {
return (
this.#opening.length >= 1 &&
(typeof opening === 'string' ? this.#opening === opening : true)
);
}Parameters
opening?: string
opening?: stringReturns
Example usage
Given closing chars
closing charsLast updated