UNPKG

303 BTypeScriptView Raw
1import { Attribute } from '../dependents';
2/**
3 * @ignore
4 * get the mapping value by attribute, if mapping value is nil, return def
5 * @param attr
6 * @param value
7 * @param def
8 * @returns get mapping value
9 */
10export declare function getMappingValue(attr: Attribute, value: any, def: string): string;