Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-database / getProperty

Function: getProperty()

getProperty(model, id): undefined | Column<Record<string, unknown>>

Defined in: packages/affine/blocks/block-database/src/utils/block-utils.ts:122

Parameters

model

DatabaseBlockModel

id

string

Returns

undefined | Column<Record<string, unknown>>