#Issues with types - R2Object is not defined

2 messages · Page 1 of 1 (latest)

waxen ruin
#

If you're trying to check if an object was returned, just check if object is null

#

instanceof won't work here, you'd only be able to do stuff like object?.constructor.name.