registerClass should never be called with a duplicate name. If this happens, we will now throw an assertion error in the development build.
I also moved the os.instanceOf export to the os.classRegistry module because the os.instanceOf module is for legacy purposes and will eventually be deprecated/removed.
registerClass
should never be called with a duplicate name. If this happens, we will now throw an assertion error in the development build.I also moved the
os.instanceOf
export to theos.classRegistry
module because theos.instanceOf
module is for legacy purposes and will eventually be deprecated/removed.