async-pipeline icon indicating copy to clipboard operation
async-pipeline copied to clipboard

New Custom pipes

Open KostyaDanovsky opened this issue 6 years ago • 1 comments
trafficstars

I think it will be great if this library can have additional pipes like isEmpty, any.

In your example $items | length | not | async it's kind a hard to understand what do you mean there, it will be much easier to understand $items | isEmpty | async

KostyaDanovsky avatar Jun 25 '19 11:06 KostyaDanovsky

I have added a new custom pipe (isEmpty) for that and created a PR #3 . It checks Arrays and Strings for "empty".

neversaid avatar Sep 21 '19 20:09 neversaid