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 2a723e9 commit 20da474Copy full SHA for 20da474
index.test.ts
@@ -17,14 +17,14 @@ import {
17
filterFirst,
18
find,
19
findIndex,
20
+ first,
21
findLast,
22
findLastIndex,
23
fold,
24
fold1,
25
foldMap,
26
forEach,
27
groupByIdentity,
- head,
28
initial,
29
isArray,
30
isArrayLike,
@@ -69,9 +69,9 @@ test("isArrayLike", t => {
69
t.false(isArrayLike(3));
70
});
71
72
-test("head", t => {
73
- t.is(head([1, 2, 3]), 1);
74
- t.is(head([]), null);
+test("first", t => {
+ t.is(first([1, 2, 3]), 1);
+ t.is(first([]), null);
75
76
77
test("tail", t => {
0 commit comments