isOne function
Implementation
bool isOne(dynamic height) {
try {
height as double;
return true;
} catch (e) {
return false;
}
}
bool isOne(dynamic height) {
try {
height as double;
return true;
} catch (e) {
return false;
}
}