Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Prism::InNode#type

type

Return a symbol representation of this node type. See ‘Node#type`.

See also .type #then_loc #then also in 4.0 · 3.3