static async isIdsArray(argDef, argValue, command) {
    for (const value of argValue) {
      if (!value.match(/^\d+$/) || Number.parseInt(value, 10) < 0) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'wrong ids array:',
          'arg_validation_wrong_ids_array'
        );
      }
    }
  }
/**
   * Validates a command's argument value against the isIdsArray 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 isIdsArray 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 isIdsArray condition . @throws BotPublicError @param { CommandArgDef } argDef the argument definition @param { Object } argValue the argument value @param { string } commandName the command name
static async isIdsArray(argDef, argValue, command) {
    for (const value of argValue) {
      if (!value.match(/^\d+$/) || Number.parseInt(value, 10) < 0) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'wrong ids array:',
          'arg_validation_wrong_ids_array'
        );
      }
    }
  }
static async isIdsArray ( argDef , argValue , command ) { for ( const value of argValue ) { if ( ! value . match ( / ^\d+$ / ) || Number . parseInt ( value , 10 ) < 0 ) { ArgValidationTree . generateValidationError ( argDef , command , 'wrong ids array:' , 'arg_validation_wrong_ids_array' ) ; } } }
Validates a command's argument value against the isIdsArray condition.
Validates a command ' s argument value against the isIdsArray condition .