hasOpening()
Checks whether the primitive value of a specified object has the opening chars or given opening chars.
Last updated
Checks whether the primitive value of a specified object has the opening chars or given opening chars.
Last updated
Wrap.prototype.hasOpening()
Checks whether the of a specified object has the chars or given chars.
If given opening
chars in the constructor are the empty string
, the method returns false
.
opening?: string
Optional opening chars of a type to check if the contains them at the beginning.
The return value is a indicating whether the has the chars or given chars.
closing
chars