nodeId method

LocalId? nodeId(
  1. String name
)

The referenced node id for name, or null.

Implementation

LocalId? nodeId(String name) => switch (value(name)) {
  NodeRefValue(:final id) => id,
  _ => null,
};