dengzedong
2024-12-24 aa0382e44311f9f7e62a688c8fcaa9c69a512e0f
iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/util/string/StrUtils.java
@@ -77,4 +77,14 @@
                .collect(Collectors.joining("\n"));
    }
    /**
     * 判断字符串是不是数字
     *
     * @param str
     * @return
     */
    public static boolean isNumeric(String str) {
        return str.matches("-?\\d+(\\.\\d+)?");
    }
}