4 ms·
I don't know how insistent this method is, but you cab create a pointer to a Position, then check if that pointer is nil.
by CameronNemo 3y ago
I don't know how insistent this method is, but you cab create a pointer to a Position, then check if that pointer is nil.
- tialaramex 3y agoThat's pretty unsatisfactory, for the burden of heap allocation your reward is now "null" Positions exist instead of the useless default :/