import { isInteger as isInt } from 'lodash';
-const ERROR_MESSAGE = 'This field must be an integer';
+const ERROR_MESSAGE = 'This field can only contain integer values';
export const isInteger = (value: any) => {
return isInt(value) ? undefined : ERROR_MESSAGE;