UNPKG

map-transform

Version:

Map and transform objects with mapping definitions

10 lines (9 loc) 366 B
import type { Operation, Path, TransformerProps } from '../types.js'; export interface Props extends TransformerProps { arrayPath: Path; propPath: Path; matchSeveral?: boolean; flip?: boolean; } export declare function lookup({ arrayPath, propPath, matchSeveral, flip, }: Props): Operation; export declare function lookdown(props: Props): Operation;