@wocart/theme / astro / hasBlocks
Function: hasBlocks()
hasBlocks(
blocks,slot?):boolean
Whether a slot holds a block that renders (not hidden), so a component can leave out an empty wrapper.
Parameters
blocks
slot?
string
Returns
boolean
@wocart/theme / astro / hasBlocks
hasBlocks(
blocks,slot?):boolean
Whether a slot holds a block that renders (not hidden), so a component can leave out an empty wrapper.
string
boolean