WordPress 5.8.0 Hooks, Functions, Classes and Methods
Page 18

post_exists()

Determines if a post exists based on title, content, date and type.

register_block_type()

Registers a block type. The recommended way is to register a block type using the metadata stored in the block.json file.