static hasClosing()
Checks whether the text has given closing chars at the end.
Wrap.hasClosing()
Wrap.hasClosing()
Checks whether the text
has given closing
chars at the end.
wrap.class.ts
Parameters
text: string
text: string
The text of string
type, to check whether it contains given closing
chars.
closing: string
closing: string
The closing chars of string
type to check if a given text
contains.
Returns
The return value is a boolean
indicating whether the text
contains closing
chars at the end.
Example usage
Last updated