fold.d.ts 425 B

12345678910
  1. import { DataComponent as DC } from '../runtime';
  2. import { FoldTransform } from '../spec';
  3. export declare function isEmpty(obj: any): boolean;
  4. export type FoldOptions = Omit<FoldTransform, 'type'>;
  5. /**
  6. * Collapses (or “folds”) one or more data fields into two
  7. * properties: `key` (contains the original data field name)
  8. * and `value` (contains the original data value.)
  9. */
  10. export declare const Fold: DC<FoldOptions>;