2 messages · Page 1 of 1 (latest)
If you're trying to check if an object was returned, just check if object is null
object
instanceof won't work here, you'd only be able to do stuff like object?.constructor.name.
instanceof
object?.constructor.name