@ngha/nested-value
Version:
nestedValue the value at `path` of `object`
8 lines (7 loc) • 338 B
TypeScript
import { PipeTransform } from '@angular/core';
import { NestedValueService } from './nested-value.service';
export declare class NestedValuePipe implements PipeTransform {
private nestedValueService;
constructor(nestedValueService: NestedValueService);
transform(object: any, path: string | any[], defaultValue?: any): any;
}