UNPKG
csx
Version:
latest (10.0.2)
10.0.2
10.0.1
10.0.0
9.1.0
9.0.2
9.0.1
9.0.0
8.5.0
8.4.0
8.3.1
8.3.0
8.2.1
8.2.0
8.1.0
8.0.7
8.0.6
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
7.0.0
5.0.1
5.0.0
4.0.0
3.0.0
2.2.0
2.1.0
2.0.0
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Utility functions for TypeStyle
github.com/typestyle/csx
typestyle/csx
csx
/
lib.es2015
/
utils
/
arrays.js
7 lines
(6 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
var
filter =
function
(
args, condition
) {
return
Array
.
prototype
.
filter
.
call
(args, condition); };
export
var
map =
function
(
args, mapper
) {
return
Array
.
prototype
.
map
.
call
(args, mapper); };