@open-screeps/is-source-keeper
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

is-source-keeper

Check if something is a Source Keeper

Install

$ npm install @open-screeps/is-source-keeper

Usage

import { isSourceKeeper } from '@open-screeps/is-source-keeper';

const hostiles = Game.rooms.sim.find(FIND_HOSTILE_CREEPS);
const sourceKeepers = invaders.filter(isSourceKeeper);

Related

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @open-screeps/is-source-keeper

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • postcrafter