function optionAPI(nameOrOptionMap) {
      if (typeof nameOrOptionMap === 'string') {
          return registry$1.get(nameOrOptionMap);
      }
      else {
          return registry$1.registerMany(nameOrOptionMap);
      }
  }
Custom option API

@param nameOrOptionMap
@returns {any}