UNPKG

merge-change

Version:

Advanced library for deep merging, patching, and immutable updates of data structures. Features declarative operations for specific merging behaviors, property management, custom type merging rules, and difference tracking. Supports complex data transform

18 lines (17 loc) 581 B
import { Type } from './types'; /** * Type of value - constructor name * @param value */ export declare function type(value: unknown): Type; /** * All instance types along their inheritance chain * @param value */ export declare function typeChain(value: unknown): Array<Type>; /** * Checking if a value belongs to a class (constructor) by the string name of the class (constructor) * @param value Value to check * @param className Name of the class (constructor) */ export declare function isInstanceof<Type = unknown>(value: unknown, className: string): value is Type;