react-signal-forms
Version:
A forms library focusing on performance and modular extensibility.
8 lines • 596 B
TypeScript
export type KeyOf<TForm> = keyof TForm & string;
export declare function forAllKeysOf<T extends {}>(obj: T, test: (key: KeyOf<T>) => boolean): boolean;
export declare function KeysOf<T extends {}>(obj: T): Array<KeyOf<T>>;
export declare function forEachKeyOf<T extends {}>(obj: T, action: (key: KeyOf<T>) => void): void;
export declare function areEqualish(val1: any, val2: any): boolean;
export declare function arrayEquals(a: any[], b: any[]): boolean;
export declare function ensureNotNull<T>(name: string, value: T): value is Exclude<T, null | undefined>;
//# sourceMappingURL=index.d.ts.map