Skip to content

BlockSuite API Documentation / @blocksuite/blocks / getShapeType

Function: getShapeType()

getShapeType(name): ShapeType

Parameters

name: ShapeName

Returns

ShapeType

Defined in

packages/affine/model/dist/consts/shape.d.ts:19