mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
12
.internal/asciiSize.js
Normal file
12
.internal/asciiSize.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import baseProperty from './.internal/baseProperty.js';
|
||||
|
||||
/**
|
||||
* Gets the size of an ASCII `string`.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string inspect.
|
||||
* @returns {number} Returns the string size.
|
||||
*/
|
||||
const asciiSize = baseProperty('length');
|
||||
|
||||
export default asciiSize;
|
||||
Reference in New Issue
Block a user