Ref2 method

P Ref2([
  1. num? o
])
inherited

Writes o into slot '2' and returns its pointer.

Shorthand for Value(o, '2'). Use RefOrNull2 if o may be null and the callee expects nullptr in that case.

Implementation

P Ref2([X? o]) => Value(o, '2');