@fabwcie/free-drawing / utils/frame / isFrame
Function: isFrame()
isFrame(
node):node is Frame
Defined in: packages/free-drawing/src/utils/frame.ts:60
Node is a frame: to exclude frames from checks of groups of shapes (instanceof Group)
Parameters
node
Node<NodeConfig> | null | undefined
any node, or nothing
Returns
node is Frame
true for a frame