Files
lodash/src/.internal/asciiSize.ts
2023-09-16 14:47:50 -07:00

13 lines
231 B
TypeScript

/**
* Gets the size of an ASCII `string`.
*
* @private
* @param {string} string The string inspect.
* @returns {number} Returns the string size.
*/
function asciiSize({ length }) {
return length
}
export default asciiSize