repo
stringclasses
350 values
file_path
stringlengths
29
200
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.01M
tokens
int64
2
598k
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/shuffle.luau
luau
.luau
--!strict local Copy = require(script.Parent.copy) --[=[ @function shuffle @within Array @param array {T} -- The array to shuffle. @return {T} -- The shuffled array. Randomises the order of the items in an array. ```lua local array = { 1, 2, 3 } local new = Shuffle(array) -- { 2, 3, 1 } ``` ]=] local func...
188
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/slice.luau
luau
.luau
--!strict --[=[ @function slice @within Array @param array {T} -- The array to slice. @param from? number -- The index to start from (can be negative). @param to? number -- The index to end at (can be negative). @return {T} -- The sliced array. Slices an array. ```lua local array = { 1, 2, 3, 4, 5 } local...
279
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/some.luau
luau
.luau
--!strict --[=[ @function some @within Array @param array {T} -- The array to check. @param predicate (value: T, index: number, array: {T}) -> any -- The predicate to use to check the array. @return boolean -- Whether some item in the array passes the predicate. Checks whether some item in the array passes the ...
220
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/sort.luau
luau
.luau
--!strict local Copy = require(script.Parent.copy) --[=[ @function sort @within Array @param array {T} -- The array to sort. @param comparator? (a: T, b: T) -> boolean -- The comparator function. @return {T} -- The sorted array. Sorts an array. ```lua local array = { "a", "b", "c", "d", "e" } local new = ...
187
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/splice.luau
luau
.luau
--!strict --[=[ @function splice @within Array @param array {T} -- The array to splice. @param start? number -- The index to start splicing at (can be negative). @param end? number -- The index to end splicing at (can be negative). @param ... ...T -- The values to insert. @return {T} -- The spliced array. Spl...
401
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/toSet.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local _T = require(Sift.Types) --[=[ @function toSet @within Array @param array {T} -- The array to convert to a set. @return Set<T> -- The set. Converts an array to a set. ```lua local array = { "a", "b", "b", "c", "d" } local set = ToSet(array) -- { a = true, b...
168
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/unshift.luau
luau
.luau
--!strict --[=[ @function unshift @within Array @param array {T} -- The array to insert the values to. @param ... ...T -- The values to insert. @return {T} -- The array with the values inserted. Inserts values to the beginning of an array. #### Aliases `prepend` ```lua local array = { 1, 2, 3 } local n...
179
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/update.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) local Copy = require(script.Parent.copy) type Callback<T> = (index: number) -> T type Updater<T> = (currentValue: T, index: number) -> T local function call<T>(callback: Callback<T>, index: number) if type(callback) == "function" then ret...
433
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/zip.luau
luau
.luau
--!strict local Reduce = require(script.Parent.reduce) --[=[ @function zip @within Array @param ... {any} -- The arrays to zip together. @return {any} -- The zipped array. Zips multiple arrays together into a single array. ```lua local table1 = { 1, 2, 3 } local table2 = { "hello", "world", "goodbye" } lo...
262
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Array/zipAll.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Reduce = require(script.Parent.reduce) local None = require(Sift.None) --[=[ @function zipAll @within Array @param ... ...{any} -- The arrays to zip. @return {any} -- The zipped array. Zips multiple arrays together into a single array, filling in missing value...
311
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/copy.luau
luau
.luau
--!strict --[=[ @function copy @within Dictionary @param dictionary T -- The dictionary to copy. @return T -- The copied dictionary. Copies a dictionary. ```lua local dictionary = { hello = "world" } local new = Copy(dictionary) -- { hello = "world" } print(new == dictionary) -- false print(new...
101
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/copyDeep.luau
luau
.luau
--!strict --[=[ @function copyDeep @within Dictionary @param dictionary T -- The dictionary to copy. @return T -- The copied dictionary. Copies a dictionary recursively. ```lua local dictionary = { hello = { world = "goodbye" } } local new = CopyDeep(dictionary) -- { hello = { world = "goodbye" } } ...
180
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/count.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function count @within Dictionary @param dictionary T -- The dictionary to count. @param predicate? (value: T, key: K, dictionary: T) -> any -- The predicate to use to filter the dictionary. @return number -- The number of i...
264
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/entries.luau
luau
.luau
--!strict --[=[ @function entries @within Dictionary @param dictionary {[K]: V} -- The dictionary to get the entries from. @return {{ K, V }} -- The entries in the dictionary. Returns the entries in the given dictionary as an array of key-value pairs. ```lua local dictionary = { hello = "roblox", goodb...
180
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/equals.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) local _T = require(Sift.Types) local function compare(a, b) if type(a) ~= "table" or type(b) ~= "table" then return a == b end for key, value in pairs(a) do if b[key] ~= value then return false end end for key, value in pairs(...
349
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/equalsDeep.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) local _T = require(Sift.Types) local function compareDeep(a, b) if type(a) ~= "table" or type(b) ~= "table" then return a == b end for key, value in pairs(a) do if not compareDeep(value, b[key]) then return false end end for k...
373
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/every.luau
luau
.luau
--!strict --[=[ @function every @within Dictionary @param dictionary {[K]: V} -- The dictionary to check. @param predicate (value: V, key: K, dictionary: {[K]: V}) -> any -- The predicate to use to check the dictionary. @return boolean -- Whether every item in the dictionary passes the predicate. Checks w...
245
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/filter.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function filter @within Dictionary @param dictionary {[K]: V} -- The dictionary to filter. @param predicate? (value: V, key: K, dictionary: {[K]: V}) -> any -- The predicate to use to filter the dictionary. @return {[K]: V} ...
281
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/flatten.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function flatten @within Dictionary @param dictionary T -- The dictionary to flatten. @param depth? number -- The depth to flatten the dictionary to. @return T -- The flattened dictionary. Flattens a dictionary. If depth is not specified, it...
344
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/flip.luau
luau
.luau
--!strict --[=[ @function flip @within Dictionary @param dictionary { [K]: V } -- The dictionary to flip. @return { [V]: K } -- The flipped dictionary. Flips a dictionary. Keys become values and values become keys. ```lua local dictionary = { hello = "roblox", goodbye = "world" } local new = Flip(di...
159
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/freeze.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) local Copy = require(script.Parent.copy) --[=[ @function freeze @within Dictionary @param dictionary T -- The dictionary to freeze. @return T -- The frozen dictionary. Freezes the given dictionary at the top level, making it read-only. ```lua lo...
163
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/freezeDeep.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function freezeDeep @within Dictionary @param dictionary T -- The dictionary to freeze. @return T -- The frozen dictionary. Freezes the entire dictionary, making it read-only, including all nested dictionaries. ```lua local dictionary = {...
202
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/fromArrays.luau
luau
.luau
--!strict --[=[ @function fromArrays @within Dictionary @param keys {K} -- An array containing values to be used as keys. @param values {V} -- An array containing values to be used as values. @return {[K]: V} -- A dictionary composed of the given keys and values. Creates a dictionary from the given arrays...
223
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/fromEntries.luau
luau
.luau
--!strict --[=[ @function fromEntries @within Dictionary @param entries {{ K, V }} -- An array of key-value pairs. @return {[K]: V} -- A dictionary composed of the given key-value pairs. Creates a dictionary from the given key-value pairs. ```lua local entries = { { "hello", "roblox" }, { "goodbye", "w...
183
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/has.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function has @within Dictionary @param dictionary {[K]: V} -- The dictionary to check. @param key any -- The key to check for. @return boolean -- Whether or not the dictionary has the given key. Checks whether or not the given dictionary has...
162
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/includes.luau
luau
.luau
--!strict --[=[ @function includes @within Dictionary @param dictionary {[K]: V} -- The dictionary to check. @param value V -- The value to check for. @return boolean -- Whether or not the dictionary includes the given value. Checks whether or not the given dictionary includes the given value. ```lua ...
180
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/init.luau
luau
.luau
--!strict --[=[ @class Dictionary Dictionaries are a type of data structure that can be used to store key-value pairs. ```lua local dictionary = { cats = 2, dogs = 1 } print(dictionary.cats) -- 2 ``` ]=] local Dictionary = { copy = require(script.copy), copyDeep = require(script.copyDeep), count = requ...
289
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/keys.luau
luau
.luau
--!strict --[=[ @function keys @within Dictionary @param dictionary {[K]: V} -- The dictionary to get the keys of. @return {K} -- An array containing the keys of the given dictionary. Gets the keys of the given dictionary as an array. ```lua local dictionary = { hello = "roblox", goodbye = "world" } ...
152
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/map.luau
luau
.luau
--!strict --[=[ @function map @within Dictionary @param dictionary {[K]: V} -- The dictionary to map. @param mapper (value: V, key: K, dictionary: {[K]: V}) -> (Y?, X?) -- The mapper function. @return {[X]: Y} -- The mapped dictionary. Maps the dictionary using the mapper function. The mapper function can...
322
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/merge.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local None = require(Sift.None) --[=[ @function merge @within Dictionary @param dictionaries? ...any -- The dictionaries to merge. @return T -- The merged dictionary. Merges the given dictionaries into a single dictionary. If the value is `None`, it will be re...
272
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/mergeDeep.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local None = require(Sift.None) local copyDeep = require(script.Parent.copyDeep) --[=[ @function mergeDeep @within Dictionary @param dictionaries? ...any -- The dictionaries to merge. @return T -- The merged dictionary. Merges the given dictionaries into a single dic...
365
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeKey.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function removeKey @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the key from. @param key K -- The key to remove. @return {[K]: V} -- The dictionary without the given key. Removes the given key from the given dictionary...
195
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeKeys.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function removeKeys @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the keys from. @param keys ...K -- The keys to remove. @return {[K]: V} -- The dictionary without the given keys. Removes the given keys from the given d...
208
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeValue.luau
luau
.luau
--!strict --[=[ @function removeValue @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the value from. @param value V -- The value to remove. @return {[K]: V} -- The dictionary without the given value. Removes the given value from the given dictionary. ```lua local dictionary...
208
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeValues.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local ToSet = require(Sift.Array.toSet) --[=[ @function removeValues @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the values from. @param values ...V -- The values to remove. @return {[K]: V} -- The dictionary without the given values...
262
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/set.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function set @within Dictionary @param dictionary {[K]: V} -- The dictionary to set the value in. @param key K -- The key to set the value in. @param value V -- The value to set. @return {[K]: V} -- The dictionary with the given value set. Sets ...
209
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/some.luau
luau
.luau
--!strict --[=[ @function some @within Dictionary @param dictionary {[K]: V} -- The dictionary to check. @param predicate (value: V, key: K, dictionary: { [K]: V }) -> any -- The predicate to check against. @return boolean -- Whether or not the predicate returned true for any value. Checks whether or not ...
252
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/update.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) type Callback<K, V> = (key: K) -> V type Updater<K, V> = (value: V, key: K) -> V local function call<K, V>(callback: Callback<K, V>, key: K) if type(callback) == "function" then return callback(key) end end --[=[ @function update @within Dictionary @param...
440
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/values.luau
luau
.luau
--!strict --[=[ @function values @within Dictionary @param dictionary {[K]: V} -- The dictionary to get the values from. @return {V} -- The values in the dictionary. Gets the values in the given dictionary. ```lua local dictionary = { hello = "roblox", goodbye = "world" } local values = Values(dicti...
146
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/None.luau
luau
.luau
--!strict --[=[ @prop None None @within Sift Luau can't distinguish between a nil value and a non-existent value. This constant is used to represent a non-existent value. It can be used in methods like `Array.Concat` or `Dictionary.Merge` to remove the value from the result. ]=] local None = newproxy(true) getme...
104
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/add.luau
luau
.luau
--!strict --[=[ @function add @within Set @param set { [T]: boolean } -- The set to add the value to. @param ... ...T -- The values to add. @return { [T]: boolean } -- The set with the values added. Adds values to a set. ```lua local set = { hello = true } local newSet = Add(set, "world") -- { hel...
182
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/copy.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local copy = require(Sift.Dictionary.copy) --[=[ @function copy @within Set @param set { [T]: boolean } -- The set to copy. @return { [T]: boolean } -- A copy of the set. Creates a copy of a set. ```lua local set = { hello = true } local newSet = Copy(se...
107
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/count.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function count @within Set @param set { [T]: boolean } -- The set to count. @param predicate? (item: T, set: { [T]: boolean }) -> boolean? -- The predicate to use to count. @return number -- The number of items in the set. ...
253
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/delete.luau
luau
.luau
--!strict --[=[ @function delete @within Set @param set { [T]: boolean } -- The set to delete from. @param ... ...T -- The values to delete. @return { [T]: boolean } -- The set with the values deleted. Deletes values from a set. Aliases: `subtract` ```lua local set = { hello = true, world = true }...
187
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/filter.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function filter @within Set @param set { [T]: boolean } -- The set to filter. @param predicate? (item: T, set: { [T]: boolean }) -> any -- The function to filter the set with. @return { [T]: boolean } -- The filtered set. ...
258
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/fromArray.luau
luau
.luau
--!strict --[=[ @function fromArray @within Set @param array {T} -- The array to convert to a set. @return {[T]: boolean} -- The set. Converts an array to a set, where each item is mapped to true. Duplicate items are discarded. Aliases: `fromList` ```lua local array = { "hello", "world", "hello" }...
168
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/has.luau
luau
.luau
--!strict --[=[ @function has @within Set @param set { [T]: boolean } -- The set to check. @param value any -- The value to check for. @return boolean -- Whether the value is in the set. Checks whether a value is in a set. ```lua local set = { hello = true } local has = Has(set, "hello") -- true ...
128
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/init.luau
luau
.luau
--!strict --[=[ @class Set Sets are a collection of values. They are used to store unique values. They are essentially a dictionary, but each value is stored as a boolean. This means that a value can only be in a set once. ```lua local set = { hello = true } local newSet = Add(set, "world") -- { hello = true,...
215
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/intersection.luau
luau
.luau
--!strict --[=[ @function intersection @within Set @param ... ...{ [any]: boolean } -- The sets to intersect. @return { [T]: boolean } -- The intersection of the sets. Creates the intersection of multiple sets. The intersection is when both sets have a value in common. Unmatched values are discarded. ...
259
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/isSubset.luau
luau
.luau
--!strict --[=[ @function isSubset @within Set @param subset { [any]: boolean } -- The subset to check. @param superset { [any]: boolean } -- The superset to check against. @return boolean -- Whether the subset is a subset of the superset. Checks whether a set is a subset of another set. ```lua local...
188
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/isSuperset.luau
luau
.luau
--!strict local isSubset = require(script.Parent.isSubset) --[=[ @function isSuperset @within Set @param superset { [any]: boolean } -- The superset to check. @param subset { [any]: boolean } -- The subset to check against. @return boolean -- Whether the superset is a superset of the subset. Checks wheth...
181
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/map.luau
luau
.luau
--!strict --[=[ @function map @within Set @param set { [T]: boolean } -- The set to map. @param mapper (T, {[T]: boolean}) -> U -- The mapper function. @return {[U]: boolean} -- The mapped set. Iterates over a set, calling a mapper function for each item. ```lua local set = { hello = true, world = tr...
225
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/merge.luau
luau
.luau
--!strict --[=[ @function merge @within Set @param ... ...any -- The sets to merge. @return { [T]: boolean } -- The merged set. Combines one or more sets into a single set. Aliases: `join`, `union` ```lua local set1 = { hello = true, world = true } local set2 = { cat = true, dog = true, hello = tr...
223
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/toArray.luau
luau
.luau
--!strict --[=[ @function toArray @within Set @param set { [T]: boolean } -- The set to convert to an array. @return {T} -- The array. Converts a set to an array. ```lua local set = { hello = true, world = true } local array = ToArray(set) -- { "hello", "world" } ``` ]=] local function toArray<T>(...
138
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Types.luau
luau
.luau
local None = require(script.Parent.None) --[=[ @type None None @within Sift ]=] export type None = typeof(None) export type Dictionary<K, V> = { [K]: V } export type Array<T> = Dictionary<number, T> export type Set<T> = Dictionary<T, boolean> export type Table = Dictionary<any, any> export type AnyDictionary = Di...
89
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/equalObjects.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function equalObjects @within Sift @param ... ...table -- The tables to compare. @return boolean -- Whether or not the tables are equal. Compares two or more tables to see if they are equal. ```lua local a = { hello = "world" } local b = { hell...
169
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/func.luau
luau
.luau
local function truthy() return true end local function noop() end local function returned(...) return ... end return { truthy = truthy, noop = noop, returned = returned, }
44
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/init.luau
luau
.luau
return { equalObjects = require(script.equalObjects), func = require(script.func), isEmpty = require(script.isEmpty), }
25
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/isEmpty.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function isEmpty @within Sift @since v0.0.1 @param table table -- The table to check. @return boolean -- Whether or not the table is empty. Checks whether or not a table is empty. ```lua local a = {} local b = { hello = "world" } l...
138
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/BaseMotor.luau
luau
.luau
local RunService = game:GetService("RunService") local Signal = require(script.Parent.Signal) local noop = function() end local BaseMotor = {} BaseMotor.__index = BaseMotor function BaseMotor.new() return setmetatable({ _onStep = Signal.new(), _onStart = Signal.new(), _onComplete = Signal.new(), }, BaseMoto...
250
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/GroupMotor.luau
luau
.luau
local BaseMotor = require(script.Parent.BaseMotor) local SingleMotor = require(script.Parent.SingleMotor) local isMotor = require(script.Parent.isMotor) local GroupMotor = setmetatable({}, BaseMotor) GroupMotor.__index = GroupMotor local function toMotor(value) if isMotor(value) then return value end local val...
604
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Instant.luau
luau
.luau
local Instant = {} Instant.__index = Instant function Instant.new(targetValue) return setmetatable({ _targetValue = targetValue, }, Instant) end function Instant:step() return { complete = true, value = self._targetValue, } end return Instant
62
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Linear.luau
luau
.luau
local Linear = {} Linear.__index = Linear function Linear.new(targetValue, options) assert(targetValue, "Missing argument #1: targetValue") options = options or {} return setmetatable({ _targetValue = targetValue, _velocity = options.velocity or 1, }, Linear) end function Linear:step(state, dt) local posi...
187
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Signal.luau
luau
.luau
local Connection = {} Connection.__index = Connection function Connection.new(signal, handler) return setmetatable({ signal = signal, connected = true, _handler = handler, }, Connection) end function Connection:disconnect() if self.connected then self.connected = false for index, connection in pairs(sel...
241
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/SingleMotor.luau
luau
.luau
local BaseMotor = require(script.Parent.BaseMotor) local SingleMotor = setmetatable({}, BaseMotor) SingleMotor.__index = SingleMotor function SingleMotor.new(initialValue, useImplicitConnections) assert(initialValue, "Missing argument #1: initialValue") assert(typeof(initialValue) == "number", "initialValue must be...
306
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/init.luau
luau
.luau
local Flipper = { SingleMotor = require(script.SingleMotor), GroupMotor = require(script.GroupMotor), Instant = require(script.Instant), Linear = require(script.Linear), Spring = require(script.Spring), isMotor = require(script.isMotor), } return Flipper
58
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/isMotor.luau
luau
.luau
local function isMotor(value) local motorType = tostring(value):match("^Motor%((.+)%)$") if motorType then return true, motorType else return false end end return isMotor
49
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Binding.luau
luau
.luau
local createSignal = require(script.Parent.createSignal) local Symbol = require(script.Parent.Symbol) local Type = require(script.Parent.Type) local config = require(script.Parent.GlobalConfig).get() local BindingImpl = Symbol.named("BindingImpl") local BindingInternalApi = {} local bindingPrototype = {} function ...
789
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/ComponentLifecyclePhase.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local ComponentLifecyclePhase = strict({ -- Component methods Init = Symbol.named("init"), Render = Symbol.named("render"), ShouldUpdate = Symbol.named("shouldUpdate"), WillUpdate = Symbol.named("willUpdate"), DidMount = Sy...
133
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Config.luau
luau
.luau
--[[ Exposes an interface to set global configuration values for Roact. Configuration can only occur once, and should only be done by an application using Roact, not a library. Any keys that aren't recognized will cause errors. Configuration is only intended for configuring Roact itself, not extensions or librar...
703
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/ElementKind.luau
luau
.luau
--[[ Contains markers for annotating the type of an element. Use `ElementKind` as a key, and values from it as the value. local element = { [ElementKind] = ElementKind.Host, } ]] local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local Portal = require(script.Parent.Po...
264
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/GlobalConfig.luau
luau
.luau
--[[ Exposes a single instance of a configuration as Roact's GlobalConfig. ]] local Config = require(script.Parent.Config) return Config.new()
31
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Logging.luau
luau
.luau
--[[ Centralized place to handle logging. Lets us: - Unit test log output via `Logging.capture` - Disable verbose log messages when not debugging Roact This should be broken out into a separate library with the addition of scoping and logging configuration. ]] -- Determines whether log messages will go to stdout...
950
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/None.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) -- Marker used to specify that the value is nothing, because nil cannot be -- stored in tables. local None = Symbol.named("None") return None
40
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/NoopRenderer.luau
luau
.luau
--[[ Reference renderer intended for use in tests as well as for documenting the minimum required interface for a Roact renderer. ]] local NoopRenderer = {} function NoopRenderer.isHostObject(target) -- Attempting to use NoopRenderer to target a Roblox instance is almost -- certainly a mistake. return target == ...
137
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Portal.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local Portal = Symbol.named("Portal") return Portal
19
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Change.luau
luau
.luau
--[[ Change is used to generate special prop keys that can be used to connect to GetPropertyChangedSignal. Generally, Change is indexed by a Roblox property name: Roact.createElement("TextBox", { [Roact.Change.Text] = function(rbx) print("The TextBox", rbx, "changed text to", rbx.Text) end, }) ]] lo...
199
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Children.luau
luau
.luau
local Symbol = require(script.Parent.Parent.Symbol) local Children = Symbol.named("Children") return Children
20
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Event.luau
luau
.luau
--[[ Index into `Event` to get a prop key for attaching to an event on a Roblox Instance. Example: Roact.createElement("TextButton", { Text = "Hello, world!", [Roact.Event.MouseButton1Click] = function(rbx) print("Clicked", rbx) end }) ]] local Type = require(script.Parent.Parent.Type) local Ev...
189
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Ref.luau
luau
.luau
local Symbol = require(script.Parent.Parent.Symbol) local Ref = Symbol.named("Ref") return Ref
20
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PureComponent.luau
luau
.luau
--[[ A version of Component with a `shouldUpdate` method that forces the resulting component to be pure. ]] local Component = require(script.Parent.Component) local PureComponent = Component:extend("PureComponent") -- When extend()ing a component, you don't get an extend method. -- This is to promote composition o...
217
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/RobloxRenderer.luau
luau
.luau
--[[ Renderer that deals in terms of Roblox Instances. This is the most well-supported renderer after NoopRenderer and is currently the only renderer that does anything. ]] local Binding = require(script.Parent.Binding) local Children = require(script.Parent.PropMarkers.Children) local ElementKind = require(script....
1,669
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/SingleEventManager.luau
luau
.luau
--[[ A manager for a single host virtual node's connected events. ]] local Logging = require(script.Parent.Logging) local CHANGE_PREFIX = "Change." local EventStatus = { -- No events are processed at all; they're silently discarded Disabled = "Disabled", -- Events are stored in a queue; listeners are invoked wh...
963
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Symbol.luau
luau
.luau
--!strict --[[ A 'Symbol' is an opaque marker type. Symbols have the type 'userdata', but when printed to the console, the name of the symbol is shown. ]] local Symbol = {} --[[ Creates a Symbol with the given name. When printed or coerced to a string, the symbol will turn into the string given as its name. ]...
149
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Type.luau
luau
.luau
--[[ Contains markers for annotating objects with types. To set the type of an object, use `Type` as a key and the actual marker as the value: local foo = { [Type] = Type.Foo, } ]] local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local Type = newproxy(true) local ...
221
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/assertDeepEqual.luau
luau
.luau
--!strict --[[ A utility used to assert that two objects are value-equal recursively. It outputs fairly nicely formatted messages to help diagnose why two objects would be different. This should only be used in tests. ]] local function deepEqual(a: any, b: any): (boolean, string?) if typeof(a) ~= typeof(b) then ...
466
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/assign.luau
luau
.luau
local None = require(script.Parent.None) --[[ Merges values from zero or more tables onto a target table. If a value is set to None, it will instead be removed from the table. This function is identical in functionality to JavaScript's Object.assign. ]] local function assign(target, ...) for index = 1, select("#"...
143
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createContext.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local createFragment = require(script.Parent.createFragment) local createSignal = require(script.Parent.createSignal) local Children = require(script.Parent.PropMarkers.Children) local Component = require(script.Parent.Component) --[[ Construct the value that is assigned t...
959
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createElement.luau
luau
.luau
local Children = require(script.Parent.PropMarkers.Children) local ElementKind = require(script.Parent.ElementKind) local Logging = require(script.Parent.Logging) local Type = require(script.Parent.Type) local config = require(script.Parent.GlobalConfig).get() local multipleChildrenMessage = [[ The prop `Roact.Childr...
475
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createFragment.luau
luau
.luau
local ElementKind = require(script.Parent.ElementKind) local Type = require(script.Parent.Type) local function createFragment(elements) return { [Type] = Type.Element, [ElementKind] = ElementKind.Fragment, elements = elements, } end return createFragment
60
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createReconciler.luau
luau
.luau
--!nonstrict local Type = require(script.Parent.Type) local ElementKind = require(script.Parent.ElementKind) local ElementUtils = require(script.Parent.ElementUtils) local Children = require(script.Parent.PropMarkers.Children) local Symbol = require(script.Parent.Symbol) local internalAssert = require(script.Parent.int...
3,862
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createReconcilerCompat.luau
luau
.luau
--[[ Contains deprecated methods from Reconciler. Broken out so that removing this shim is easy -- just delete this file and remove it from init. ]] local Logging = require(script.Parent.Logging) local reifyMessage = [[ Roact.reify has been renamed to Roact.mount and will be removed in a future release. Check the c...
258
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createRef.luau
luau
.luau
--[[ A ref is nothing more than a binding with a special field 'current' that maps to the getValue method of the binding ]] local Binding = require(script.Parent.Binding) local function createRef() local binding, _ = Binding.create(nil) local ref = {} --[[ A ref is just redirected to a binding via its metatab...
213
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createSignal.luau
luau
.luau
--[[ This is a simple signal implementation that has a dead-simple API. local signal = createSignal() local disconnect = signal:subscribe(function(foo) print("Cool foo:", foo) end) signal:fire("something") disconnect() ]] local function createSignal() local connections = {} local suspendedConnectio...
343
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/forwardRef.luau
luau
.luau
local assign = require(script.Parent.assign) local None = require(script.Parent.None) local Ref = require(script.Parent.PropMarkers.Ref) local config = require(script.Parent.GlobalConfig).get() local excludeRef = { [Ref] = None, } --[[ Allows forwarding of refs to underlying host components. Accepts a render call...
156
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/getDefaultInstanceProperty.luau
luau
.luau
--[[ Attempts to get the default value of a given property on a Roblox instance. This is used by the reconciler in cases where a prop was previously set on a primitive component, but is no longer present in a component's new props. Eventually, Roblox might provide a nicer API to query the default property of an ...
303
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/init.luau
luau
.luau
--~strict --[[ Packages up the internals of Roact and exposes a public API for it. ]] local GlobalConfig = require(script.GlobalConfig) local createReconciler = require(script.createReconciler) local createReconcilerCompat = require(script.createReconcilerCompat) local RobloxRenderer = require(script.RobloxRenderer) ...
349
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/internalAssert.luau
luau
.luau
local function internalAssert(condition, message) if not condition then error(message .. " (This is probably a bug in Roact!)", 3) end end return internalAssert
40
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/oneChild.luau
luau
.luau
--[[ Retrieves at most one child from the children passed to a component. If passed nil or an empty table, will return nil. Throws an error if passed more than one child. ]] local function oneChild(children) if not children then return nil end local key, child = next(children) if not child then return ni...
118
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-a179b92/MainModule/Client/UI/Modern/Components/Packages/t.luau
luau
.luau
-- t: a runtime typechecker for Roblox local t = {} function t.type(typeName) return function(value) local valueType = type(value) if valueType == typeName then return true else return false, string.format("%s expected, got %s", typeName, valueType) end end end function t.typeof(typeName) return fun...
6,881