Skip to content

Type Editor


Type Editor / @type-editor/util / is-in-node-type / isInNodeType

Function: isInNodeType()

ts
function isInNodeType(state, nodeType, attrs?): boolean;

Defined in: is-in-node-type.ts:8

Parameters

ParameterType
statePmEditorState
nodeTypeNodeType
attrs?Attrs

Returns

boolean