docs: function resolverOpts(resolveMode, maxLen, index, dtypes) {
    index = isUndefined(index) ? null : index;
    dtypes = isUndefined(dtypes) ? null : dtypes;
    return {
      resolveMode: resolveMode,
      maxLen: maxLen,
      index: index,
      dtypes: dtypes,
    };
  }