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