Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / getShapeType

Function: getShapeType()

getShapeType(name): ShapeType

Parameters

name

ShapeName

Returns

ShapeType

Defined in

packages/affine/model/src/consts/shape.ts:33