How to use the stampit/isStamp function in stampit

To help you get started, we’ve selected a few stampit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tdzienniak / entropy / packages / entropy / src / Engine.js View on Github external
removeSystem(systemOrType) {
      let system;

      if (isStamp(systemOrType)) {
        system = systemOrType;
      } else if (isNonEmptyString(systemOrType)) {
        system = this._systems.find(s => s.type === systemOrType);
      }

      if (system) {
        this._systemsToRemove.push(system);
      }
    },
    /**

stampit

Create objects from reusable, composable behaviors.

MIT
Latest version published 4 years ago

Package Health Score

69 / 100
Full package analysis