These are chat archives for opal/opal
typeof xyz['_klass'] != 'undefined') but it looks like that was recently refactored away so that approach is probably not wise. Is there some common method on Object that can be checked instead maybe?
_klassand other internal properties have all been refactored to use a double dollar prefix instead, so it's still there, but named
require "native"and use
#native?which is defined on Kernel and thus available everywhere