1.0.0 • Published 6 years ago
@open-screeps/is-creep-alive v1.0.0
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))
Related
License
1.0.0
6 years ago