Libraryless. Click here for Pure Java version (5037L/28K).
static <A> bool lambdaMapLike containsPred(IF1<A, Bool> pred, Iterable<A> l) { ret any(pred, l); } static <A> bool containsPred(Iterable<A> l, IF1<A, Bool> pred) { ret any(pred, l); }
Began life as a copy of #1021427
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034506 |
Snippet name: | containsPred - partial synonym of any |
Eternal ID of this version: | #1034506/1 |
Text MD5: | 413c485c9bbc6f44f2893b583679c419 |
Transpilation MD5: | 4a792b6379f472b986743af0ac3af7ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-10 02:34:56 |
Source code size: | 194 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 127 / 191 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |