static async isInteger(argDef, argValue, command) {
    if (!argValue.match(/^[-+]?\d+$/) || argValue === '') {
      ArgValidationTree.generateValidationError(
        argDef,
        command,
        'wrong integer:',
        'arg_validation_wrong_integer'
      );
    }
  }
/**
   * Validates a command's argument value against the isInteger condition.
   * @throws BotPublicError
   * @param  {CommandArgDef} argDef      the argument definition
   * @param  {Object}        argValue    the argument value
   * @param  {string}        commandName the command name
   */
Validates a command's argument value against the isInteger condition.
@throws BotPublicError
@param  {CommandArgDef} argDef      the argument definition
@param  {Object}        argValue    the argument value
@param  {string}        commandName the command name
Validates a command ' s argument value against the isInteger condition . @throws BotPublicError @param { CommandArgDef } argDef the argument definition @param { Object } argValue the argument value @param { string } commandName the command name
static async isInteger(argDef, argValue, command) {
    if (!argValue.match(/^[-+]?\d+$/) || argValue === '') {
      ArgValidationTree.generateValidationError(
        argDef,
        command,
        'wrong integer:',
        'arg_validation_wrong_integer'
      );
    }
  }
static async isInteger ( argDef , argValue , command ) { if ( ! argValue . match ( / ^[-+]?\d+$ / ) || argValue === '' ) { ArgValidationTree . generateValidationError ( argDef , command , 'wrong integer:' , 'arg_validation_wrong_integer' ) ; } }
Validates a command's argument value against the isInteger condition.
Validates a command ' s argument value against the isInteger condition .