Cole-Greer commented on code in PR #3154:
URL: https://github.com/apache/tinkerpop/pull/3154#discussion_r2226725411


##########
docs/src/dev/provider/gremlin-semantics.asciidoc:
##########
@@ -776,6 +776,32 @@ None
 See: 
link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java[source],
 link:https://tinkerpop.apache.org/docs/x.y.z/reference/#as-step[reference]
 
+[[asBool-step]]
+=== asBool()
+
+*Description:* Parse the value of the incoming traverser as boolean.
+
+*Syntax:* `asBool()`
+
+[width="100%",options="header"]
+|=========================================================
+|Start Step |Mid Step |Modulated |Domain |Range
+|N |Y |N |`Number`/`String`/`null` |`Boolean`
+|=========================================================
+
+*Arguments:*
+
+None
+
+`null` values return `null`, numbers evaluate to `true` if non-zero. Strings 
only accept "true" or "false" (case-insensitive).

Review Comment:
   ```suggestion
   |N |Y |N |`Number`/`String`/`Boolean` |`Boolean`
   |=========================================================
   
   *Arguments:*
   
   None
   
   Booleans are passed as is, numbers evaluate to `true` if non-zero. Strings 
only accept "true" or "false" (case-insensitive).
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to