Skip to content

Commit 00e6ccf

Browse files
committed
Auto-generated commit
1 parent 76b334e commit 00e6ccf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ var arrayfun = require( '@stdlib/assert-tools-array-function' );
5858
var isString = require( '@stdlib/assert-is-string' );
5959

6060

61+
// VARIABLES //
62+
63+
var isPrimitiveArray = arrayfun( isString.isPrimitive );
64+
var isObjectArray = arrayfun( isString.isObject );
65+
66+
6167
// MAIN //
6268

6369
var isStringArray = arrayfun( isString );
64-
setReadOnly( isStringArray, 'primitives', arrayfun( isString.isPrimitive ) );
65-
setReadOnly( isStringArray, 'objects', arrayfun( isString.isObject ) );
70+
setReadOnly( isStringArray, 'primitives', isPrimitiveArray );
71+
setReadOnly( isStringArray, 'objects', isObjectArray );
6672

6773

6874
// EXPORTS //

0 commit comments

Comments
 (0)