Get the type of a schema item by its name.
The name of the schema item
The Prosemiror schema to search in
The type of the schema item (node or mark), or null if it doesn't exist
node
mark
Get the type of a schema item by its name.