isBool property
bool
isBool
Checks if string is boolean.
Implementation
bool get isBool {
if (isNum) {
return false;
}
return (this == 'true' || this == 'false');
}
Checks if string is boolean.
bool get isBool {
if (isNum) {
return false;
}
return (this == 'true' || this == 'false');
}