Skip to content

Commit 6d01566

Browse files
committed
feat: add first to namespace
1 parent 8ea4115 commit 6d01566

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/string/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/string/lib/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ setReadOnly( string, 'constantcase', require( '@stdlib/string/constantcase' ) );
103103
*/
104104
setReadOnly( string, 'endsWith', require( '@stdlib/string/ends-with' ) );
105105

106+
/**
107+
* @name first
108+
* @memberof string
109+
* @readonly
110+
* @type {Function}
111+
* @see {@link module:@stdlib/string/first}
112+
*/
113+
setReadOnly( string, 'first', require( '@stdlib/string/first' ) );
114+
106115
/**
107116
* @name format
108117
* @memberof string

0 commit comments

Comments
 (0)