in Opperator
# in regular python:
if ('x' in 'asdf'
and 'the_key' in the_dict
and 'the_item' in the_list):
pass
# in Screeps via Transcrypt:
if ('asdf'.includes('x')
and 'the_key' in the_dict
and the_list.includes('the_item')):
passLast updated