UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

11 lines (9 loc) 270 B
import { BaseMatcher } from "../BaseMatcher.js"; export class IsFinite extends BaseMatcher { matches(item, mismatch_description) { return Number.isFinite(item); } describeTo(description) { description.appendText("finite"); } }