UNPKG
@walts81/linq-ts
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Typescript/Javascript LINQ implementation library
github.com/walts81/linq-ts
walts81/linq-ts
@walts81/linq-ts
/
lib
/
where.js
9 lines
(8 loc)
•
238 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
where
=
void
0
;
Array
.
prototype
.
where
= where;
function
where
(
expression
) {
return
this
.
filter
(
(
x, i
) =>
expression
(x, i)); }
exports
.
where
= where;