Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

roblox table find

table.find(t, element) finds the index position of element. It returns nil if there is no element in the table.

  t = table
  element = thing you're trying to find
  
Its uses are

Quick verification that an element is in the table
Get the index of the element, probably so you can pop it from the list or any other index-based operations rather than element based
Source by create.roblox.com #
 
PREVIOUS NEXT
Tagged: #roblox #table #find
ADD COMMENT
Topic
Name
5+4 =