Resolved conflicts

This commit is contained in:
rajesh
2025-02-06 15:26:47 +05:30
31 changed files with 523 additions and 148 deletions

View File

@@ -778,4 +778,12 @@ public class Utils {
return Double.NaN; // Return NaN if the expression is invalid
}
}
public static boolean isNumeric(String input) {
if (input == null || input.trim().isEmpty()) {
return false;
}
return input.matches("-?\\d+(\\.\\d+)?");
}
}