isEL function
Test if the given value is enclosed with [= ]
.
If null, false is returned.
Implementation
bool isEL(String data) {
for (int i = 0, len = data.length; i < len; ++i) {
final cc = data.codeUnitAt(i);
if (cc == $backslash)
++i;
else if (cc == $lbracket && i + 1 < len && data.codeUnitAt(i + 1) == $equal)
return true;
}
return false;
}