8.14.0 • Published 4 years ago

@unction/takefirst v8.14.0

Weekly downloads
3
License
SEE LICENSE IN LI...
Repository
github
Last release
4 years ago

@unction/takeFirst

Tests Stability Dependencies

number => Array | string => Array | string

Returns the first N of a list of ordered values.

takeFirst(2)([1, 2, 3]) // [1, 2]
takeFirst(1)([1, 2, 3]) // [1]
takeFirst(2)("abc") // "ab"
takeFirst(1)("abc") // "a"
8.14.0

4 years ago

8.13.0

4 years ago

8.12.0

4 years ago

8.11.1

5 years ago

8.11.0

5 years ago

8.10.1

5 years ago

8.10.0

5 years ago

8.9.0

5 years ago

8.8.1

5 years ago

8.8.0

5 years ago

8.7.0

5 years ago

8.6.1

5 years ago

8.6.0

5 years ago

8.5.0

5 years ago

8.4.0

5 years ago

8.3.1

5 years ago

8.3.0

5 years ago

8.2.0

5 years ago

8.1.0

5 years ago

8.0.0

5 years ago

7.0.0

7 years ago

6.0.0

7 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.46.0

7 years ago

1.45.0

7 years ago

1.44.0

7 years ago

1.43.0

7 years ago

1.42.0

7 years ago

1.41.0

7 years ago

1.40.0

7 years ago

1.39.0

7 years ago

1.38.0

7 years ago

1.37.0

7 years ago

1.36.0

7 years ago

1.35.0

7 years ago

1.34.0

7 years ago

1.33.0

7 years ago

1.32.0

7 years ago

1.31.0

7 years ago

1.30.0

7 years ago

1.29.0

7 years ago

1.28.0

7 years ago

1.27.0

7 years ago

1.26.0

7 years ago

1.25.0

7 years ago

1.24.0

7 years ago

1.23.0

7 years ago

1.22.0

7 years ago

1.21.0

7 years ago

1.20.0

7 years ago

1.19.0

7 years ago

1.18.0

7 years ago

1.17.0

7 years ago

1.16.0

7 years ago

1.15.0

7 years ago

1.14.0

7 years ago

1.13.0

7 years ago

1.12.0

7 years ago

1.11.0

7 years ago

1.10.0

7 years ago

1.9.0

7 years ago

1.8.0

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.4.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago