---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [scapi](../index.md) / scapiExpandIncludes

# Function: scapiExpandIncludes()

> **scapiExpandIncludes**(`expand`, `section`): `boolean`

Defined in: [packages/b2c-tooling-sdk/src/scapi/schema-source.ts:58](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/scapi/schema-source.ts#L58)

Whether an `expand` value requests a section; `all` includes every section.

## Parameters

### expand

`string` | `undefined`

### section

`"all"` | `"descriptions"` | `"examples"` | `"custom_properties"` | `"external_docs"` | `"summaries"` | `"tags"` | `"titles"`

## Returns

`boolean`
