@open-screeps/is-creep-alive
v1.0.0
Published
Returns true if the creep is alive
Downloads
2
Readme
is-creep-alive
Returns true if the creep is alive
Install
$ npm install @open-screeps/is-creep-alive
Usage
import { isCreepAlive } from '@open-screeps/is-creep-alive';
const livingCreeps = _.filter(Memory.creepList, (creepName) => isCreepAlive(creepName))