UNPKG

soundcraft-ui-connection

Version:

Library for controlling the Soundcraft Ui series audio mixers

11 lines (10 loc) 502 B
/** * Read from an object based on the given key * * @param obj Object to read from * @param path Path in the nested object where the value can be found * @param defaultValue Default value will be returned, when the given path is not available */ export declare function getValueFromObject<T>(obj: any, key: string, defaultValue?: T): T; /** Build dot-separated state path from single entries, just for convenience */ export declare function joinStatePath(...path: (string | number)[]): string;