Y
Hacker News
new
|
ask
|
show
|
jobs
by
vlisivka
5970 days ago
if(foo instanceof SomeClassObject) ...
or
if(SomeClassObject.isInstance(foo)) ...