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

10 lines
347 B
TypeScript

/**
* Checks if `value` is a property name and not a property path.
*
* @private
* @param {*} value The value to check.
* @param {Object} [object] The object to query keys on.
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
*/
declare function isKey(value: any, object: any): boolean;
export default isKey;