domain-objects
Version:
A simple, convenient way to represent domain objects, leverage domain knowledge, and add runtime validation in your code base.
8 lines (7 loc) • 332 B
TypeScript
/**
* .what = checks if input is a DomainObject (class or instance)
* .why = supports cross version compatibility evaluation
* .note = uses marker symbol for cycle-free detection
* .note = static property lookup follows prototype chain automatically in JS
*/
export declare const isOfDomainObject: (input: unknown) => boolean;