Memory.creeps(creepName)Object.keys(Memory.creeps); the name is your hash key. having a .name tag as well would be somewhat redundant.