server/pages/index.js
function isUAInBrowserslist( userAgentString, environment = 'defaults' ) {
	return matchesUA( userAgentString, {
		env: environment,
		ignorePatch: true,
		ignoreMinor: true,
		allowHigherVersions: true,
	} );
}
function isUAInBrowserslist( userAgentString, environment = 'defaults' ) {
	return matchesUA( userAgentString, {
		env: environment,
		ignorePatch: true,
		ignoreMinor: true,
		allowHigherVersions: true,
	} );
}
Checks whether a user agent is included in the browser list for an environment.
@param {String} userAgentString The user agent string.
@param {String} environment The `browserslist` environment.

@returns {Boolean} Whether the user agent is included in the browser list.