Open KostyaDanovsky opened 5 years ago
I think it will be great if this library can have additional pipes like isEmpty, any.
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
$items | length | not | async
$items | isEmpty | async
I have added a new custom pipe (isEmpty) for that and created a PR #3 . It checks Arrays and Strings for "empty".
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