Github user okram commented on a diff in the pull request:
https://github.com/apache/incubator-tinkerpop/pull/279#discussion_r57517425
--- Diff: docs/src/reference/the-traversal.asciidoc ---
@@ -1127,6 +1127,31 @@ g.V().repeat(both()).times(3).values('age').min()
IMPORTANT: `min(local)` determines the min of the current, local object
(not the objects in the traversal stream).
This works for `Collection` and `Number`-type objects. For any other
object, a min of `Double.NaN` is returned.
+[[optional-step]]
+Optional Step
+~~~~~~~~~~~~~
+
+The `optional()`-step returns the result of the specified traversal if it
yields a result else it returns the calling
--- End diff --
please say that it is a `(*map*)-step` ... see the convention I use for
other steps in the traversal.asciidoc.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---