1 | import { PartItem } from "./data-interface";
|
2 | import { DataSet } from "./data-set";
|
3 | /**
|
4 | * Check that given value is compatible with Vis Data Set interface.
|
5 | *
|
6 | * @param idProp - The expected property to contain item id.
|
7 | * @param v - The value to be tested.
|
8 | *
|
9 | * @returns True if all expected values and methods match, false otherwise.
|
10 | */
|
11 | export declare function isDataSetLike<Item extends PartItem<IdProp>, IdProp extends string = "id">(idProp: IdProp, v: any): v is DataSet<Item, IdProp>;
|
12 | //# sourceMappingURL=data-set-check.d.ts.map |
\ | No newline at end of file |