docs: function validate( opts, options ) {
  	if ( !isObject( options ) ) {
  		return new TypeError( 'quantile()::invalid input argument. Options argument must be an object. Value: `' + options + '`.' );
  	}
  	if ( options.hasOwnProperty( 'mu' ) ) {
  		opts.mu = options.mu;
  		if ( !isNumber( opts.mu ) ) {
  			return new TypeError( 'quantile()::invalid option. `mu` parameter must be a number primitive. Option: `' + opts.mu + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 's' ) ) {
  		opts.s = options.s;
  		if ( !isPositive( opts.s ) ) {
  			return new TypeError( 'quantile()::invalid option. `s` parameter must be a positive number. Option: `' + opts.s + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 'copy' ) ) {
  		opts.copy = options.copy;
  		if ( !isBoolean( opts.copy ) ) {
  			return new TypeError( 'quantile()::invalid option. Copy option must be a boolean primitive. Option: `' + opts.copy + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 'accessor' ) ) {
  		opts.accessor = options.accessor;
  		if ( !isFunction( opts.accessor ) ) {
  			return new TypeError( 'quantile()::invalid option. Accessor must be a function. Option: `' + opts.accessor + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 'path' ) ) {
  		opts.path = options.path;
  		if ( !isString( opts.path ) ) {
  			return new TypeError( 'quantile()::invalid option. Key path option must be a string primitive. Option: `' + opts.path + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 'sep' ) ) {
  		opts.sep = options.sep;
  		if ( !isString( opts.sep ) ) {
  			return new TypeError( 'quantile()::invalid option. Separator option must be a string primitive. Option: `' + opts.sep + '`.' );
  		}
  	}
  	if ( options.hasOwnProperty( 'dtype' ) ) {
  		opts.dtype = options.dtype;
  		if ( !isString( opts.dtype ) ) {
  			return new TypeError( 'quantile()::invalid option. Data type option must be a string primitive. Option: `' + opts.dtype + '`.' );
  		}
  	}
  	return null;
  }