src/vs/workbench/contrib/preferences/browser/settingsTree.ts/isNonNullableNumericType
function isNonNullableNumericType(type: unknown): type is 'number' | 'integer' {
	return type === 'number' || type === 'integer';
}