import { BaseMatcher } from "../BaseMatcher.js";

export class IsFinite extends BaseMatcher {
    matches(item, mismatch_description) {
        return Number.isFinite(item);
    }

    describeTo(description) {
        description.appendText("finite");
    }
}