BlockSuite API Documentation / @blocksuite/affine-block-database / updateProperty
Function: updateProperty()
updateProperty(
model
,id
,updater
,defaultValue
?):undefined
|string
Defined in: packages/affine/blocks/block-database/src/utils/block-utils.ts:205
Parameters
model
id
string
updater
defaultValue?
Record
<string
, unknown
>
Returns
undefined
| string