has method

bool has(
  1. SceneNode node
)

Implementation

bool has(SceneNode node) => switch (this) {
  any => true,
  frame => node is FrameNode,
  text => node is TextNode,
  shape => node is ShapeNode,
  takesArgs => node is SceneRefNode || node is ExternalNode,
};