hasFunctions function

bool hasFunctions(
  1. String code
)

Returns true if the code has functions

Implementation

bool hasFunctions(String code) {
  return _functionRegExp.hasMatch(code) || _getAndSetRegExp.hasMatch(code);
}