@thecodingmachine/redux-toolkit-wrapper
Version:
[Redux-toolkit](https://redux-toolkit.js.org/) wrapper used to write less code regarding classic CRUD operations
5 lines (4 loc) • 340 B
TypeScript
export declare function stateKeysExists<S>(state: S, keys: Array<string>, type: string): void;
export declare function stateKeyExists<S>(state: S, key: string, type: string): void;
export declare function setNestedValue<S>(state: S, dotKey: string, value: any): void;
export declare function getNestedValue<S>(state: S, dotKey: string): S;