UNPKG

@walts81/linq-ts

Version:

Typescript/Javascript LINQ implementation library

9 lines (8 loc) 238 B
"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;