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


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -4243,6 +4278,39 @@ 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gre
 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#toV-org.apache.tinkerpop.gremlin.structure.Direction-++[`toV(Direction)`],
 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/structure/Direction.html++[`Direction`]
 
+[[toLower-step]]
+=== ToLower Step
+
+The `toLower()`-step (*map*) returns the lower representation of incoming 
string traverser. Null values are not processed and remain as null when 
returned.

Review Comment:
   ```suggestion
   The `toLower()`-step (*map*) returns the lowercase representation of 
incoming string traverser. Null values are not processed and remain as null 
when returned.
   ```



##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -4243,6 +4278,39 @@ 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gre
 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#toV-org.apache.tinkerpop.gremlin.structure.Direction-++[`toV(Direction)`],
 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/structure/Direction.html++[`Direction`]
 
+[[toLower-step]]
+=== ToLower Step
+
+The `toLower()`-step (*map*) returns the lower representation of incoming 
string traverser. Null values are not processed and remain as null when 
returned.
+If the incoming traverser is a non-String value then an 
`IllegalArgumentException` will be thrown.
+
+[gremlin-groovy,modern]
+----
+g.inject("HELLO", "wORlD", null).toLower()
+----
+
+*Additional References*
+
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#toLower--++[`toLower()`]
+
+[[toUpper-step]]
+=== ToUpper Step
+
+The `toUpper()`-step (*map*) returns the upper representation of incoming 
string traverser. Null values are not processed and remain as null when 
returned.

Review Comment:
   ```suggestion
   The `toUpper()`-step (*map*) returns the uppercase representation of 
incoming string traverser. Null values are not processed and remain as null 
when returned.
   ```



-- 
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