Author: npeltier
Date: Mon Sep 4 19:37:23 2017
New Revision: 1807293
URL: http://svn.apache.org/viewvc?rev=1807293&view=rev
Log:
Yet another change for sling fitler pipe
Modified:
sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext
Modified: sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext?rev=1807293&r1=1807292&r2=1807293&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext Mon Sep
4 19:37:23 2017
@@ -209,6 +209,9 @@ property is there with the value instant
- `slingPipesFilter_test='${...}'` evaluates the property value, and filters
out the stream if the expression is not a boolean or false
- `slingPipesFilter_not='true'` inverts the expected result of the filter
+
+as an example,
+
echo('/content/foo').grep('foo','bar','slingPipesFilter_not',true).run()
will either return `/content/foo` either nothing depending on it