Search
⌘K

Leetcode 2618. Check if Object Instance of Class

Determine whether a given value should be considered an instance of a given class or its superclass by checking if the class's prototype is accessible to the value (including via primitive autoboxing), with no assumptions about input types (the value or class may be undefined).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.