agsamantha/node_modules/langsmith/dist/utils/lodash/assignValue.d.ts
2024-10-02 15:15:21 -05:00

10 lines
369 B
TypeScript

/**
* Assigns `value` to `key` of `object` if the existing value is not equivalent.
*
* @private
* @param {Object} object The object to modify.
* @param {string} key The key of the property to assign.
* @param {*} value The value to assign.
*/
declare function assignValue(object: Record<string, any>, key: string, value: any): void;
export default assignValue;