agsamantha/node_modules/langsmith/dist/utils/lodash/toKey.d.ts

10 lines
241 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
/**
* Converts `value` to a string key if it's not a string or symbol.
*
* @private
* @param {*} value The value to inspect.
* @returns {string|symbol} Returns the key.
*/
declare function toKey(value: any): any;
export default toKey;