Skip to content

Commit

Permalink
feat(docs): update docs (#561)
Browse files Browse the repository at this point in the history
feat(docs): update docs

Updates the Wing docs. See details in [workflow run].

[Workflow Run]: https://github.com/winglang/docsite/actions/runs/5802268505

------

*Automatically created via the "update-docs" workflow*
  • Loading branch information
monadabot authored Aug 8, 2023
1 parent 2770eab commit 5b822be
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Immutable Array.
| <code><a href="#@winglang/sdk.std.Array.indexOf">indexOf</a></code> | Returns the index of the first occurrence of searchElement found. |
| <code><a href="#@winglang/sdk.std.Array.join">join</a></code> | Returns a new string containing the concatenated values in this array, separated by commas or a specified separator string. |
| <code><a href="#@winglang/sdk.std.Array.lastIndexOf">lastIndexOf</a></code> | Returns the index of the last occurrence of searchElement found. |
| <code><a href="#@winglang/sdk.std.Array.tryAt">tryAt</a></code> | Get the value at the given index, returning nil if the index is out of bounds. |

---

Expand Down Expand Up @@ -137,6 +138,22 @@ to search for.

---

##### `tryAt` <a name="tryAt" id="@winglang/sdk.std.Array.tryAt"></a>

```wing
tryAt(index: num): <T>
```

Get the value at the given index, returning nil if the index is out of bounds.

###### `index`<sup>Required</sup> <a name="index" id="@winglang/sdk.std.Array.tryAt.parameter.index"></a>

- *Type:* num

index of the value to get.

---


#### Properties <a name="Properties" id="Properties"></a>

Expand Down

1 comment on commit 5b822be

@vercel
Copy link

@vercel vercel bot commented on 5b822be Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.