UNPKG

langsmith

Version:

Client library to connect to the LangSmith Observability and Evaluation Platform.

19 lines (18 loc) 479 B
"use strict"; // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); const toString = Object.prototype.toString; /** * Gets the `toStringTag` of `value`. * * @private * @param {*} value The value to query. * @returns {string} Returns the `toStringTag`. */ function getTag(value) { if (value == null) { return value === undefined ? "[object Undefined]" : "[object Null]"; } return toString.call(value); } exports.default = getTag;