4 ms·
this technique works with sealed classes, i’ve done it before. it throws a runtime exception if it can’t identify the discriminant.
by __jem 5y ago
this technique works with sealed classes, i’ve done it before. it throws a runtime exception if it can’t identify the discriminant.