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