code: function validateConfig (config) {
    var type = typeOf(config);
  
    if (type.hasValue && !type.isPOJO) {
      throw ono('Invalid arguments. Expected a configuration object.');
    }
  }
docs: Ensures that a user-supplied value is a valid configuration POJO.
  An error is thrown if the value is invalid.
  
  @param {*} config - The user-supplied value to validate