isCloseWrapChar method
Check if the String
is a close wrap char: >
, }
, ]
, "
, '
.
Example
bool isCloseWrap = ")".isCloseWrapChar(); // returns true;
Implementation
bool isCloseWrapChar() =>
this.isNotNull && StringHelpers.closeWrappers.contains(this);