(misc) move to api module

This commit is contained in:
Ryder Belserion 2023-03-04 23:16:04 -05:00
parent c5a07ad83b
commit ca89bd6371
No known key found for this signature in database
GPG Key ID: 8FC2E6C54BBF05FE
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ package us.crazycrew.crazyauctions.utils.misc;
*/
public class NumberUtils {
/**
*
* Checks if a value is an integer.
*
* @param value string to parse
* @return true if yes otherwise false
*/
public static boolean isInt(String value) {
try {
Integer.parseInt(value);