flutter_dynamic_forms icon indicating copy to clipboard operation
flutter_dynamic_forms copied to clipboard

expressions.dart - support zero parameters.

Open philsnook opened this issue 2 years ago • 0 comments

In order to implement a function such as LEN... which checks the length of a string.

Please add the following check to isNumber under expressions.dart

This allows zero an empty string to be evaluated as false.

Ref: Line 334

bool isNumber(String st) {
    if (st.isEmpty) {
      return false;
    }
.....

philsnook avatar Mar 14 '22 11:03 philsnook