We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8785338 commit 493e8d6Copy full SHA for 493e8d6
index.test.ts
@@ -10,12 +10,12 @@ import {
10
filterFirst,
11
find,
12
findIndex,
13
+ first,
14
fold,
15
fold1,
16
foldMap,
17
forEach,
18
groupByIdentity,
- head,
19
initial,
20
isArray,
21
isArrayLike,
@@ -43,9 +43,9 @@ test("isArrayLike", t => {
43
t.false(isArrayLike(3));
44
});
45
46
-test("head", t => {
47
- t.is(head([1, 2, 3]), 1);
48
- t.is(head([]), null);
+test("first", t => {
+ t.is(first([1, 2, 3]), 1);
+ t.is(first([]), null);
49
50
51
test("tail", t => {
0 commit comments