UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

10 lines (9 loc) 800 B
export interface IObjectPropertyPathOnIncomplete { (): any; } export declare const OBJECT_PROPERTY_PATH_ON_INCOMPLETE_THROW: IObjectPropertyPathOnIncomplete; export declare const OBJECT_PROPERTY_PATH_ON_INCOMPLETE_RETURN_UNDEFINED: IObjectPropertyPathOnIncomplete; export declare const OBJECT_PROPERTY_PATH_ON_INCOMPLETE_RETURN_FALSE: IObjectPropertyPathOnIncomplete; export declare function getObjectPropertyPathValue<GValue>(data: any, path: PropertyKey[], onIncompletePath?: IObjectPropertyPathOnIncomplete): GValue; export declare function getOptionalObjectPropertyPathValue<GValue>(data: any, path: PropertyKey[]): GValue; export declare function setObjectPropertyPathValue<GValue>(data: any, path: PropertyKey[], value: GValue, onIncompletePath?: IObjectPropertyPathOnIncomplete): boolean;