Home > @tridion-sites/extensions > isItemNodeOfType
Checks if an item in a node, given as the first parameter, is an instance of a constructor, provided as the second parameter.
Signature:
isItemNodeOfType: <TItem extends IdentifiableObject>(node: ContentExplorerNode | undefined, ctor: Constructor<TItem>) => node is ContentExplorerItemNode<TItem>