ts to tell if an object contains a key code example Example: typescript check if object has key if ('key' in myObj)