Skip to content

parseCompoundInnerBlocksPreset

parseCompoundInnerBlocksPreset(value?): "horizontal" | "freeform" | "ordered" | "locked-structure" | undefined

Defined in: wp-typia-project-tools/src/runtime/compound-inner-blocks.ts:95

Parses a raw CLI or config value into a supported preset id.

Returns undefined for non-string or empty input, and throws when the input is a non-empty unsupported preset id.

string

"horizontal" | "freeform" | "ordered" | "locked-structure" | undefined