@kephas/core
Version:
Provides a common infrastructure for all the other Kephas Framework components: ambient services, dynamic reflection, composition, application management, and others.
18 lines (17 loc) • 370 B
TypeScript
/**
* Provides contract checks.
*
* @export
* @class Requires
*/
export declare class Requires {
/**
* Requires that the argument has a value (not null or undefined or empty).
*
* @static
* @param {*} value
* @param {string} name
* @memberof Requires
*/
static HasValue(value: any, name: string): void;
}