victory-core
Version:
12 lines • 844 B
TypeScript
import type { Iterable, List, Map } from "./immutable-types";
export declare const IMMUTABLE_ITERABLE = "@@__IMMUTABLE_ITERABLE__@@";
export declare const IMMUTABLE_RECORD = "@@__IMMUTABLE_RECORD__@@";
export declare const IMMUTABLE_LIST = "@@__IMMUTABLE_LIST__@@";
export declare const IMMUTABLE_MAP = "@@__IMMUTABLE_MAP__@@";
export declare function isIterable(x: any): x is Iterable<unknown, unknown>;
export declare function isRecord(x: any): x is Record<string, unknown>;
export declare function isImmutable(x: any): x is Iterable<unknown, unknown> | Record<string, unknown>;
export declare function isList(x: any): x is List<unknown>;
export declare function isMap(x: any): x is Map<unknown, unknown>;
export declare function shallowToJS(x: any, whitelist?: Record<string, boolean | unknown>): any;
//# sourceMappingURL=immutable.d.ts.map