instanceof
An operator that checks whether an object was made by a given class. It lets a `catch` tell expected errors like `InventoryError` from bugs.
An operator that checks whether an object was made by a given class. It lets a `catch` tell expected errors like `InventoryError` from bugs.