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

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

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