static async areSubjectIdsOnly(argDef, argValue, command) {
    if (!(argDef.validationOptions.anyValueAllowed === true && argValue.subjectIds[0] === OhUtils.ANY_VALUE)) {
      if (argValue.subjectRoles.length > 0) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'subject roles provided instead of ids:',
          'arg_validation_only_ids_allowed'
        );
      }
    }
  }
/**
   * Validates a command's argument value against the subjectIdsOnly 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 subjectIdsOnly 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 subjectIdsOnly condition . @throws BotPublicError @param { CommandArgDef } argDef the argument definition @param { Object } argValue the argument value @param { string } commandName the command name
static async areSubjectIdsOnly(argDef, argValue, command) {
    if (!(argDef.validationOptions.anyValueAllowed === true && argValue.subjectIds[0] === OhUtils.ANY_VALUE)) {
      if (argValue.subjectRoles.length > 0) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'subject roles provided instead of ids:',
          'arg_validation_only_ids_allowed'
        );
      }
    }
  }
static async areSubjectIdsOnly ( argDef , argValue , command ) { if ( ! ( argDef . validationOptions . anyValueAllowed === true && argValue . subjectIds [ 0 ] === OhUtils . ANY_VALUE ) ) { if ( argValue . subjectRoles . length > 0 ) { ArgValidationTree . generateValidationError ( argDef , command , 'subject roles provided instead of ids:' , 'arg_validation_only_ids_allowed' ) ; } } }
Validates a command's argument value against the subjectIdsOnly condition.
Validates a command ' s argument value against the subjectIdsOnly condition .