Skip to content

Commit

Permalink
docs: add documentation for "keys" and "values" methods (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasnix committed Sep 14, 2024
1 parent 0fe63d5 commit a7fffad
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/object-graph.doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Returns an instance of ObjectGraph.

Returns the length of the object graph.

## keys()

Returns the keys of the object graph.

## values()

Returns the values of the object graph.

## get()

Returns a node of the object graph.
Expand All @@ -26,10 +34,6 @@ Returns a node of the object graph.
| --- | --- | --- | --- |
| nodeKey | `string` | - | __Required.__ The key of the node to return from the object graph. |

## getAll()

Returns all nodes of the object graph.

## copy()

Returns a copy of the original object graph.
Expand Down

0 comments on commit a7fffad

Please sign in to comment.