web / isGlobalBlock
Function: isGlobalBlock() ​
isGlobalBlock(
block):boolean
Defined in: composables/useBlockTemplates/useBlockTemplates.ts:132
Check if a block is global (i.e., a system/global block like Footer or HeaderContainer)
Parameters ​
block ​
The block to check
Block | null | undefined
Returns ​
boolean
true if the block is global, false if it's a regular/persistent block