Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions _pages/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ function rawget<K, V>(t: { [K]: V }, k: K): V?

Performs a table lookup with index `k` and returns the resulting value, if present in the table, or nil. This operation bypasses metatables/`__index`.

```
function rawlen<K, V>(t: { [K]: V } | string): number
```

Returns the raw length of the table or string. If it is a string, this operation is identical to `#str` or `string.len(str)`. This operation bypasses metatables/`__len`.

```
function rawset<K, V>(t: { [K] : V }, k: K, v: V)
```
Expand Down