import { ValidationError } from "./utils/validation-error.mjs";
function assertInstanceOf(value, constructor_class) {
if (!(value instanceof constructor_class)) {
throw new ValidationError(`The value must be an instance of ${constructor_class.name}.`);
}
}
export { assertInstanceOf };