text: import validator from '../core/validator'
  import { isValueEmpty, isValueNumeric } from '../utils/utils'
  
  export default validator((value, param) => {
    if (isValueEmpty(value)) return true
    if (!isValueNumeric(value)) return false
  
    return value <= param
  }, (param, name) => `${name} must be less than or equal to ${param}.`)
  