API > @blocksuite/blocks > getBlockElementByPath
Function: getBlockElementByPath ​
getBlockElementByPath(
path
):null
|BlockElement
<BaseBlockModel
<object
>,BlockService
<BaseBlockModel
<object
> >,string
>
Parameters ​
Parameter | Type |
---|---|
path | string [] |
Returns ​
null
| BlockElement
< BaseBlockModel
< object
>, BlockService
< BaseBlockModel
< object
> >, string
>
Defined In ​
packages/blocks/src/_common/utils/query.ts:256