code: function isValidLevel ( level ) {
      return reLevel.test( level ) || isFunction( level ) || Array.isArray( level );
    }
docs: To be valid, a `level` must be one of the values into `supportedLevels`, a function, or an array of functions.