asRegExp property

RegExp asRegExp

Implementation

RegExp get asRegExp => this is RegExp ? this as RegExp : RegExp(toString());