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
/
any.js
11 lines
(10 loc)
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
any
=
void
0
;
Array
.
prototype
.
any
=
any
;
function
any
(
expression
) {
if
(!expression)
return
this
.
length
>
0
;
return
this
.
some
(
(
x, i
) =>
expression
(x, i)); }
exports
.
any
=
any
;