@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
15 lines • 529 B
JavaScript
/*
* Copyright (c) 2016 Gili Tzabari
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/
import {} from "../../internal/internal.mjs";
/**
* @param value - a value
* @returns true if the value is an instance of `ApplicationScope`
*/
function isApplicationScope(value) {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
return value.getGlobalConfiguration !== undefined;
}
export { isApplicationScope };
//# sourceMappingURL=ApplicationScope.mjs.map