UNPKG
tamda
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Practical functional programming library for TypeScript
github.com/rabelloo/tamda
rabelloo/tamda
tamda
/
dist
/
logic
/
and.js
8 lines
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
// tslint:disable-next-line: ban-types
export
function
and
(
...functions
) {
// tslint:disable-next-line: only-arrow-functions
return
function
(
) {
return
functions.
every
(
fn
=>
Boolean
(fn.
apply
(
undefined
,
arguments
))); }; }
//# sourceMappingURL=and.js.map