@salesforce/b2c-tooling-sdk / schemas / isCollapsedSchema
Function: isCollapsedSchema() ​
isCollapsedSchema(
schema):boolean
Defined in: packages/b2c-tooling-sdk/src/schemas/collapse.ts:254
Checks if a schema has been collapsed (i.e., is in outline form).
Parameters ​
schema ​
The schema to check
Returns ​
boolean
true if paths are collapsed (arrays) or schemas are empty objects