pub fn toIndexAllowNone(inst: Ref) ?Index
inst: Ref
2381 2382 2383 2384
pub fn toIndexAllowNone(inst: Ref) ?Index { if (inst == .none) return null; return toIndex(inst); }