docs: function validateFormatParameters(that, format, obj) {
          if ('string' !== typeof format &&
              !J.isArray(format) && !format.length) {
  
              that.throwErr('TypeError', 'addFormat', 'format must be ' +
                              'a non-empty string or array');
          }
          if ('object' !== typeof obj) {
              that.throwErr('TypeError', 'addFormat', 'obj must be object');
          }
          if (!obj.save && !obj.saveSync) {
              that.throwErr('Error', 'addFormat', 'format must ' +
                            'at least one save function: sync or async');
          }
          if (!obj.load && !obj.loadSync) {
              that.throwErr('Error', 'addFormat', 'format must ' +
                            'at least one load function: sync or async');
          }
          if (obj.save || obj.load) {
              if ('function' !== typeof obj.save) {
                  that.throwErr('TypeError', 'addFormat',
                                'save function is not a function');
              }
              if ('function' !== typeof obj.load) {
                  that.throwErr('TypeError', 'addFormat',
                                'load function is not a function');
              }
          }
          if (obj.saveSync || obj.loadSync) {
              if ('function' !== typeof obj.saveSync) {
                  that.throwErr('TypeError', 'addFormat',
                                'saveSync function is not a function');
              }
              if ('function' !== typeof obj.loadSync) {
                  that.throwErr('TypeError', 'addFormat',
                                'loadSync function is not a function');
              }
          }
      }