Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Jan 6, 2020
1 parent ba6b359 commit ec3a964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ReplicatedStorage/Aero/Shared/TableUtil.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
local tbl = {"hello", "there", "this", "is", "a", "test"}
TableUtil.FastRemove(tbl, 2) -- Remove "there" in the array
print(table.concat(tbl, " ")) -- > hello this is a test
print(table.concat(tbl, " ")) -- > hello test is a
FastRemoveFirstValue:
Expand Down Expand Up @@ -180,9 +180,9 @@
to exist, but will point directly to table.find.
local tbl = {"Hello", 32, true, "abc"}
local abcIndex = TableUtil.IndexOf("abc") -- > 4
local helloIndex = TableUtil.IndexOf("Hello") -- > 1
local numberIndex = TableUtil.IndexOf(64) -- > nil
local abcIndex = TableUtil.IndexOf(tbl, "abc") -- > 4
local helloIndex = TableUtil.IndexOf(tbl, "Hello") -- > 1
local numberIndex = TableUtil.IndexOf(tbl, 64) -- > nil
Reverse:
Expand Down

0 comments on commit ec3a964

Please sign in to comment.