Javascript type of custom object March 12, 2023 by Tarik Yes, using instanceof (MDN link | spec link): if (s1 instanceof SomeObject) { ... }