---
title: "SUBGROUP_FOLDS: constant in Backends, TypeShade API"
description: "SUBGROUP_FOLDS, a constant in Backends. The subgroup functions that fold the lanes' values, whose float form has no fixed order; a scan is listed with them."
url: https://typeshade.dev/api/subgroupfolds/
language: en
---

# `SUBGROUP_FOLDS`

Constant in Backends

The subgroup functions that fold the lanes' values, whose float form has no fixed order; a scan is listed with them.

`import { SUBGROUP_FOLDS } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const SUBGROUP_FOLDS: ReadonlySet<string>
```

## Description

`subgroupMin` and `subgroupMax` are exact in any order and are not. Read by the determinism report.

## Source

[`src/core/intrinsics.ts`, line 296](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L296), at commit af54ddad5
