langsmith
Version:
Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.
11 lines (10 loc) • 357 B
TypeScript
/**
* Checks if `value` is a valid array-like index.
*
* @private
* @param {*} value The value to check.
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
declare function isIndex(value: any, length: any): boolean;
export default isIndex;