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
littensy/remo
littensy-remo-da8fe74/examples/lua/src/shared/names.lua
luau
.lua
local names = { "Milk", "Eggs", "Bread", "Butter", "Cheese", "Bacon", "Sausage", "Ham", "Chicken", "Beef", "Pork", "Fish", "Rice", "Pasta", "Potatoes", "Onions", "Garlic", "Tomatoes", "Carrots", "Peppers", "Lettuce", "Cucumber", "Mushrooms", "Spinach", "Broccoli", "Cauliflower", "Celery", "A...
540
littensy/remo
littensy-remo-da8fe74/examples/lua/src/shared/remotes.lua
luau
.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Remo = require(ReplicatedStorage.Packages.Remo) local t = require(ReplicatedStorage.Packages.t) type Remotes = Remo.Remotes<{ addTodo: Remo.ClientToServer<string>, removeTodo: Remo.ClientToServer<string>, getTodos: Remo.ServerAsync<(), ({ string ...
171
littensy/remo
littensy-remo-da8fe74/examples/ts/src/server/todos.server.ts
roblox-ts
.ts
import { RunService } from "@rbxts/services"; import { remotes } from "shared/remotes"; const todos: string[] = ["Milk", "Eggs"]; let changed = false; remotes.addTodo.connect((player, todo) => { todos.push(todo); changed = true; }); remotes.removeTodo.connect((player, todo) => { todos.remove(todos.indexOf(todo));...
153
littensy/remo
littensy-remo-da8fe74/examples/ts/src/shared/remotes.ts
roblox-ts
.ts
import { Client, Server, createRemotes, loggerMiddleware, remote } from "@rbxts/remo"; import { t } from "@rbxts/t"; const todo = t.string; const todoList = t.array(todo); export const remotes = createRemotes( { // add a todo to the server addTodo: remote<Server, [name: string]>(todo), // remove a todo from t...
168
littensy/remo
littensy-remo-da8fe74/scripts/spec.server.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local TestEZ: any = require(ReplicatedStorage.DevPackages.TestEZ) TestEZ.TestBootstrap:run({ ReplicatedStorage.Packages.Remo, })
46
littensy/remo
littensy-remo-da8fe74/scripts/testez.d.luau
luau
.luau
declare function afterAll(callback: () -> ()): () declare function afterEach(callback: () -> ()): () declare function beforeAll(callback: () -> ()): () declare function beforeEach(callback: () -> ()): () declare function describe(phrase: string, callback: () -> ()): () declare function describeFOCUS(phrase: string, c...
246
littensy/remo
littensy-remo-da8fe74/src/Promise.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local include = script:FindFirstAncestor("rbxts_include") or script:FindFirstAncestor("include") or ReplicatedStorage:FindFirstChild("rbxts_include") or script.Parent.Parent export type PromiseStatus = "Started" | "Resolved" | "Rejected" | "Cancelled" ...
1,174
littensy/remo
littensy-remo-da8fe74/src/client/createRemote.luau
luau
.luau
local Promise = require(script.Parent.Parent.Promise) local types = require(script.Parent.Parent.types) local compose = require(script.Parent.Parent.utils.compose) local instances = require(script.Parent.Parent.utils.instances) local testRemote = require(script.Parent.Parent.utils.testRemote) local function createRem...
729
littensy/remo
littensy-remo-da8fe74/src/constants.luau
luau
.luau
local RunService = game:GetService("RunService") return { IS_EDIT = RunService:IsStudio() and not RunService:IsRunning(), IS_STUDIO = RunService:IsStudio(), IS_CLIENT = RunService:IsClient(), IS_SERVER = RunService:IsServer(), IS_TEST = false, }
64
littensy/remo
littensy-remo-da8fe74/src/getSender.luau
luau
.luau
local constants = require(script.Parent.constants) local function getSender(player: any): Player? if constants.IS_SERVER and (type(player) == "table" or typeof(player) == "Instance") and player.ClassName == "Player" then return player :: Player end return nil end return getSender
72
littensy/remo
littensy-remo-da8fe74/src/middleware/loggerMiddleware.luau
luau
.luau
local types = require(script.Parent.Parent.types) local constants = require(script.Parent.Parent.constants) local SCOPE = constants.IS_SERVER and "client → server" or "server → client" local function stringify(...) local output = {} for index = 1, select("#", ...) do local value = select(index, ...) table.ins...
317
littensy/remo
littensy-remo-da8fe74/src/middleware/throttleMiddleware.luau
luau
.luau
local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Promise = require(script.Parent.Parent.Promise) local types = require(script.Parent.Parent.types) local constants = require(script.Parent.Parent.constants) local getSender = require(script.Parent.Parent.getSender) local ...
946
littensy/remo
littensy-remo-da8fe74/src/server/createRemote.luau
luau
.luau
local Players = game:GetService("Players") local Promise = require(script.Parent.Parent.Promise) local types = require(script.Parent.Parent.types) local compose = require(script.Parent.Parent.utils.compose) local instances = require(script.Parent.Parent.utils.instances) local testRemote = require(script.Parent.Parent...
676
littensy/remo
littensy-remo-da8fe74/src/utils/compose.luau
luau
.luau
local types = require(script.Parent.Parent.types) local function compose(middlewares: { types.Middleware }): types.Middleware local length = #middlewares if length == 0 then return function(next) return next end elseif length == 1 then return middlewares[1] end return function(next, ...) for index = ...
108
littensy/remo
littensy-remo-da8fe74/src/utils/instances.luau
luau
.luau
local Promise = require(script.Parent.Parent.Promise) local constants = require(script.Parent.Parent.constants) local mockRemotes = require(script.Parent.mockRemotes) local container = script.Parent.Parent.container local function promiseRemoteFunction(name: string): Promise.Promise<RemoteFunction> if container:Find...
415
littensy/remo
littensy-remo-da8fe74/src/utils/mockRemotes.luau
luau
.luau
local Players = game:GetService("Players") local mockRemoteEvents: { [string]: RemoteEvent } = {} local mockRemoteFunctions: { [string]: RemoteFunction } = {} local function createMockRemoteEvent(name: string): RemoteEvent if mockRemoteEvents[name] then return mockRemoteEvents[name] end local remoteEvent: Remot...
657
littensy/remo
littensy-remo-da8fe74/src/utils/testRemote.luau
luau
.luau
local types = require(script.Parent.Parent.types) local getSender = require(script.Parent.Parent.getSender) local function noop() end local function createTestRemote(): types.TestRemote local listeners: { (...any) -> () } = {} local nextListenerId = 0 local function fire(_self, first, ...) local shouldOmitPlaye...
389
littensy/remo
littensy-remo-da8fe74/src/utils/unwrap.luau
luau
.luau
local Promise = require(script.Parent.Parent.Promise) type Promise<T> = Promise.Promise<T> local function unwrap<T, U...>(promise: T | Promise<T>?, ...: U...): (T, U...) if Promise.is(promise) then return (promise :: Promise<T>):expect() end return promise :: T, ... end return unwrap
75
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/caveful-games_limesignal@0.1.6/limesignal/src/init.luau
luau
.luau
--!optimize 2 --!strict --!native --$Packages local ThreadPool = require(script.Parent.threadpool) --$Types export type Connection<T...> = { disconnect: (self: Connection<T...>) -> (), reconnect: (self: Connection<T...>) -> (), connected: boolean, } export type Event<T...> = { connect: (self: Even...
1,517
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/caveful-games_limesignal@0.1.6/threadpool.lua
luau
.lua
return require(script.Parent.Parent["caveful-games_threadpool@0.1.4"]["threadpool"])
23
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Animation/Tween.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ A specialised state object for following a goal state smoothly over time, using a TweenInfo to shape the motion. https://elttob.uk/Fusion/0.3/api-reference/animation/types/tween/ ]] local Packag...
1,406
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Animation/packType.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Packs an array of numbers into a given animatable data type. If the type is not animatable, nil will be returned. ]] local Package = script.Parent.Parent local Types = require(Package.Types) local...
814
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/External.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Abstraction layer between Fusion internals and external environments, allowing for flexible integration with schedulers and test mocks. ]] local Package = script.Parent local formatError = require...
938
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Graph/Observer.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ A graph object that runs user code when it's updated by the reactive graph. http://elttob.uk/Fusion/0.3/api-reference/state/types/observer/ ]] local Package = script.Parent.Parent local Types = r...
665
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Instances/Hydrate.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Processes and returns an existing instance, with options for setting properties, event handlers and other attributes on the instance. ]] local Package = script.Parent.Parent local Types = require(...
203
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Instances/New.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Constructs and returns a new instance, with options for setting properties, event handlers and other attributes on the instance right away. ]] local Package = script.Parent.Parent local Types = re...
372
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Instances/applyInstanceProps.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Applies a table of properties to an instance, including binding to any given state objects and applying any special keys. No strong reference is kept by default - special keys should take care no...
1,040
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/checkLifetime.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Procedures for checking lifetimes and printing helpful warnings about them. ]] local Package = script.Parent.Parent local Types = require(Package.Types) local External = require(Package.External)...
1,008
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/deriveScopeImpl.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Creates an empty scope with the same metatables as the original scope. Used for preserving access to constructors when creating inner scopes. This is the internal version of the function, which d...
289
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/doCleanup.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Cleans up the tasks passed in as the arguments. A task can be any of the following: - an Instance - will be destroyed - an RBXScriptConnection - will be disconnected - a function - will be run ...
598
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/legacyCleanup.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler local Package = script.Parent.Parent local Types = require(Package.Types) local External = require(Package.External) local doCleanup = require(Package.Memory.doCleanup) local function legacyCleanup( val...
100
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/poisonScope.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ 'Poisons' the given scope; if the scope is used again, then it will cause the program to crash. ]] local Package = script.Parent.Parent local Types = require(Package.Types) local External = require...
214
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/scopePool.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler local Package = script.Parent.Parent local Types = require(Package.Types) local poisonScope = require(Package.Memory.poisonScope) local ExternalDebug = require(Package.ExternalDebug) local ENABLE_POOLING...
376
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/scoped.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Creates cleanup tables with access to constructors as methods. ]] local Package = script.Parent.Parent local Types = require(Package.Types) local ExternalDebug = require(Package.ExternalDebug) loca...
167
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Memory/whichLivesLonger.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Calculates how the lifetimes of the two values relate. Specifically, it calculates which value will be destroyed earlier or later, if it is possible to infer this from their scopes. ]] local Packa...
639
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/Computed.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ A specialised state object for tracking single values computed from a user-defined computation. https://elttob.uk/Fusion/0.3/api-reference/state/types/computed/ ]] local Package = script.Parent....
988
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/For/Disassembly.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Breaks down an input table into reactive sub-objects for each pair. ]] local Package = script.Parent.Parent.Parent local Types = require(Package.Types) local External = require(Package.External) --...
1,625
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/For/init.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ The generic implementation for all `For` objects. ]] local Package = script.Parent.Parent local Types = require(Package.Types) local External = require(Package.External) -- Graph local depend = req...
716
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/ForKeys.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Constructs and returns a new For state object which processes keys and preserves values. https://elttob.uk/Fusion/0.3/api-reference/state/members/forkeys/ TODO: the sub objects constructed here...
719
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/ForPairs.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Constructs and returns a new For state object which processes keys and values in pairs. https://elttob.uk/Fusion/0.3/api-reference/state/members/forpairs/ TODO: the sub objects constructed here...
801
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/ForValues.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Constructs and returns a new For state object which processes values and preserves keys. https://elttob.uk/Fusion/0.3/api-reference/state/members/forvalues/ TODO: the sub objects constructed he...
707
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/State/Value.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ A state object which allows regular Luau code to control its value. https://elttob.uk/Fusion/0.3/api-reference/state/types/value/ ]] local Package = script.Parent.Parent local Types = require(Pac...
570
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Types.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Stores common public-facing type information for Fusion APIs. ]] export type Error = { type: "Error", raw: string, message: string, trace: string, context: string? } -- Types that can be expr...
3,244
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/Utility/merge.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ Attempts to merge a variadic number of tables together. ]] local Package = script.Parent.Parent local External = require(Package.External) local function merge( overwrite: boolean, into: {[unkno...
194
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/elttob_fusion@0.3.0/fusion/src/init.luau
luau
.luau
--!strict --!nolint LocalUnused --!nolint LocalShadow local task = nil -- Disable usage of Roblox's task scheduler --[[ The entry point for the Fusion library. ]] local Types = require(script.Types) local External = require(script.External) type Fusion = Types.Fusion export type Animatable = Types.Animatable export...
633
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/init.lua
luau
.lua
return require((...) .. ".lib")
8
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ConnectionState.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ConnectionState", { CONNECTED = 0, DISCONNECTED = 1, })
33
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/CreatorType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("CreatorType", { User = 0, Group = 1, })
29
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/DataStoreRequestType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("DataStoreRequestType", { GetAsync = 0, SetIncrementAsync = 1, UpdateAsync = 2, GetSortedAsync = 3, SetIncrementSortedAsync = 4, OnUpdate = 5 })
60
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/EasingDirection.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("EasingDirection", { In = 0, Out = 1, InOut = 2, })
36
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/EasingStyle.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("EasingStyle", { Linear = 0, Sine = 1, Back = 2, Quad = 3, Quart = 4, Quint = 5, Bounce = 6, Elastic = 7, })
69
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/FillDirection.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("FillDirection", { Horizontal = 0, Vertical = 1, })
30
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/Font.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("Font", { Legacy = 0, Arial = 1, ArialBold = 2, SourceSans = 3, SourceSansBold = 4, SourceSansLight = 5, SourceSansItalic = 6, Bodoni = 7, Garamond = 8, Cartoon = 9, Code = 10, Highway = 11, Scifi = 12, Arcade = 13, Fantasy = ...
150
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/HorizontalAlignment.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("HorizontalAlignment", { Center = 0, Left = 1, Right = 2, })
35
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/HttpContentType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum( "HttpContentType", { ApplicationJson = 0, ApplicationXml = 1, ApplicationUrlEncoded = 2, TextPlain = 3, TextXml = 4, } )
59
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/InfoType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("InfoType", { Asset = 0, Product = 1, GamePass = 2, })
36
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/KeyCode.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("KeyCode", { Unknown = 0, Backspace = 8, Tab = 9, Clear = 12, Return = 13, Pause = 19, Escape = 27, Space = 32, QuotedDouble = 34, Hash = 35, Dollar = 36, Percent = 37, Ampersand = 38, Quote = 39, LeftParenthesis = 40, Right...
1,716
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/MouseBehavior.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("MouseBehavior", { Default = 0, LockCenter = 1, LockCurrentPosition = 2, })
38
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/Platform.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("Platform", { Windows = 0, OSX = 1, IOS = 2, Android = 3, XBoxOne = 4, PS4 = 5, PS3 = 6, XBox360 = 7, WiiU = 8, NX = 9, Ouya = 10, AndroidTV = 11, Chromecast = 12, Linux = 13, SteamOS = 14, WebOS = 15, DOS = 16, BeOS = 1...
148
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/PlaybackState.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("PlaybackState", { Begin = 0, Delayed = 1, Playing = 2, Paused = 3, Completed = 4, Cancelled = 5, })
57
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ScaleType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ScaleType", { Stretch = 0, Slice = 1, Tile = 2, Fit = 3, Crop = 4, })
48
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ScrollBarInset.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ScrollBarInset", { None = 0, ScrollBar = 1, Always = 2, })
35
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ScrollingDirection.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ScrollingDirection", { X = 1, Y = 2, XY = 4, })
35
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/SizeConstraint.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("SizeConstraint", { RelativeXY = 0, RelativeXX = 1, RelativeYY = 2, })
39
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/SortOrder.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("SortOrder", { Name = 0, Custom = 1, LayoutOrder = 2, })
36
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/TextTruncate.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("TextTruncate", { None = 0, AtEnd = 1, })
31
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/TextXAlignment.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("TextXAlignment", { Left = 0, Right = 1, Center = 2, })
37
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/TextYAlignment.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("TextYAlignment", { Top = 0, Center = 1, Bottom = 2, })
37
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ThumbnailSize.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ThumbnailSize", { Size48x48 = 0, Size180x180 = 1, Size420x420 = 2, Size60x60 = 3, Size100x100 = 4, Size150x150 = 5, Size352x352 = 6, })
74
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ThumbnailType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ThumbnailType", { HeadShot = 0, AvatarBust = 1, AvatarThumbnail = 2, })
40
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/UserInputType.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("UserInputType", { MouseButton1 = 0, MouseButton2 = 1, MouseButton3 = 2, MouseWheel = 3, MouseMovement = 4, Touch = 7, Keyboard = 8, Focus = 9, Accelerometer = 10, Gyro = 11, Gamepad1 = 12, Gamepad2 = 13, Gamepad3 = 14, Gamepad4...
155
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/VerticalAlignment.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("VerticalAlignment", { Center = 0, Top = 1, Bottom = 2, })
36
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/VerticalScrollBarPosition.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("VerticalScrollBarPosition", { Left = 1, Right = 0, })
31
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/VirtualInputMode.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("VirtualInputMode", { None = 0, Recording = 1, Playing = 2, })
36
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/ZIndexBehavior.lua
luau
.lua
local createEnum = import("../createEnum") return createEnum("ZIndexBehavior", { Global = 0, Sibling = 1, })
30
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Enum/init.lua
luau
.lua
local createEnumGroup = import("../createEnumGroup") local names = { "ConnectionState", "CreatorType", "DataStoreRequestType", "EasingDirection", "EasingStyle", "FillDirection", "Font", "HorizontalAlignment", "HttpContentType", "Platform", "InfoType", "KeyCode", "MouseBehavior", "Playback...
200
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Instance.lua
luau
.lua
local instances = import("./instances") local Instance = {} function Instance.new(className, parent) local class = instances[className] if class == nil or not class.options.creatable then error(string.format("Can't make an instance of type %q", tostring(className)), 2) end local instance = class:ne...
79
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/InstanceProperty.lua
luau
.lua
local typeof = import("./functions/typeof") local assign = import("./assign") local InstanceProperty = {} function InstanceProperty.normal(config) return assign({}, { get = function(self, key) return getmetatable(self).instance.properties[key] end, set = function(self, key, value) getmetatable...
416
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Instance_spec.lua
luau
.lua
local Instance = import("./Instance") describe("Instance", function() it("should create instances of objects", function() local new = Instance.new("Folder") assert.not_nil(new) end) it("should error when given invalid instance names", function() assert.has.errors(function() Instance.new("ugh n...
179
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Signal.lua
luau
.lua
--[[ A limited, simple implementation of a Signal. Handlers are fired in order, and (dis)connections are properly handled when executing an event. ]] local typeKey = import("./typeKey") local function immutableAppend(list, ...) local new = {} local len = #list for key = 1, len do new[key] = li...
484
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/Signal_spec.lua
luau
.lua
local Signal = import("./Signal") describe("Signal", function() it("should be instantiable", function() local signal = Signal.new() assert.is_userdata(signal) assert.is_function(signal.Connect) assert.is_function(signal.Wait) -- This isn't a standard function, but it's how users of Signal fire i...
499
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/TaskScheduler.lua
luau
.lua
local function taskCompare(a, b) return a.time > b.time end local TaskScheduler = {} TaskScheduler.prototype = {} TaskScheduler.__index = TaskScheduler.prototype function TaskScheduler.new() local self = {} self.currentTime = 0 self._tasks = {} setmetatable(self, TaskScheduler) return self e...
196
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/assign.lua
luau
.lua
--[[ An implementation of JavaScript's Object.assign ]] return function(target, ...) for i = 1, select("#", ...) do local source = select(i, ...) if source ~= nil then for key, value in pairs(source) do target[key] = value end end end return target end
77
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createEnum.lua
luau
.lua
local typeKey = import("./typeKey") local function createEnumVariant(enum, variantName, variantValue) local enumVariant = newproxy(true) local internal = { Value = variantValue, Name = variantName, EnumType = enum, } getmetatable(enumVariant)[typeKey] = "EnumItem" getmetatable(enumVariant)._...
300
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createEnumGroup.lua
luau
.lua
local typeKey = import("./typeKey") local typeof = import("./functions/typeof") local function createEnumGroup(enums) for enumName, enum in pairs(enums) do if typeof(enum) ~= "Enum" then error(("Invalid enum in enum group %s"):format(tostring(enumName)), 2) end end local enumGroup = newproxy(true)...
200
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createEnumGroup_spec.lua
luau
.lua
local typeof = import("./functions/typeof") local createEnum = import("./createEnum") local createEnumGroup = import("./createEnumGroup") describe("createEnumGroup", function() it("should stringify as 'Enums'", function() local group = createEnumGroup({}) assert.equal(tostring(group), "Enums") end) ...
227
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createEnum_spec.lua
luau
.lua
local createEnum = import("./createEnum") local typeof = import("./functions/typeof") describe("createEnum", function() it("should stringify as the input name", function() local enum = createEnum("Foo", {}) assert.equal(tostring(enum), "Foo") end) it("should have typeof 'Enum'", function() local ...
322
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createEnvironment.lua
luau
.lua
local createSettings = import("./createSettings") local functions = import("./functions") local libs = import("./libs") local taskFunctions = import("./taskFunctions") local types = import("./types") local Enum = import("./Enum") local Instance = import("./Instance") local baseEnvironment = {} for key, valu...
279
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createSettings.lua
luau
.lua
--[[ This file creates the settings() method. Since settings implements the GetFFlag method, we need to pass fast flags from a Habitat instance. ]] local assign = import("./assign") local RenderSettings = import("./functions/settings/RenderSettings") local Settings = {} setmetatable(Settings, { __tostr...
316
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/createSettings_spec.lua
luau
.lua
local createSettings = import("./createSettings") local typeof = import("./functions/typeof") describe("functions.settings", function() it("should be a function", function() assert.is_function(createSettings) end) it("should return the actual settings() function", function() local settings = createSet...
510
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/fs.lua
luau
.lua
local ok, lfs = pcall(require, "lfs") if not ok then error("Lemur requires LuaFileSystem, which couldn't be found: " .. lfs) end local fs = {} function fs.isFile(path) return lfs.attributes(path, "mode") == "file" end function fs.isDirectory(path) return lfs.attributes(path, "mode") == "directory" ...
142
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/fs_spec.lua
luau
.lua
describe("fs", function() local fs = import("./fs") it("should return errors when failing to open a file", function() local contents, err = fs.read("nuclear launch codes.txt") assert.is_nil(contents) assert.is_not_nil(err) end) it("should return contents of files read", function() local conten...
107
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/init.lua
luau
.lua
local names = { "typeof", "warn", "tick", } local functions = {} for _, name in ipairs(names) do functions[name] = import("./" .. name) end return functions
45
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/settings/RenderSettings.lua
luau
.lua
local assign = import("../../assign") local typeKey = import("../../typeKey") local RenderSettings = {} setmetatable(RenderSettings, { __tostring = function() return "RenderSettings" end, }) local prototype = {} local metatable = {} metatable[typeKey] = "RenderSettings" function metatable:__ind...
245
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/settings/RenderSettings_spec.lua
luau
.lua
local RenderSettings = import("./RenderSettings") local typeof = import("../typeof") describe("functions.settings.RenderSettings", function() it("should be an object", function() local instance = RenderSettings.new() assert.not_nil(instance) assert.equals(typeof(instance), "RenderSettings") end) it...
252
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/tick.lua
luau
.lua
local success, socket = pcall(require, "socket") local tick if success then tick = socket.gettime else tick = os.clock end return tick
38
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/tick_spec.lua
luau
.lua
local tick = import("./tick") describe("functions.tick", function() it("returns a number", function() assert.is.number(tick()) end) end)
33
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/typeof.lua
luau
.lua
local typeKey = import("../typeKey") local function typeof(object) local realType = type(object) if realType == "userdata" then local metatable = getmetatable(object) if metatable == nil then return "userdata" end if metatable[typeKey] ~= nil then return metatable[typeKey] end end ...
86
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/typeof_spec.lua
luau
.lua
local typeof = import("./typeof") describe("functions.typeof", function() it("should identify all Lua primitives", function() local values = { true, false, 0, "hello", {}, newproxy(true), } for _, value in ipairs(values) do assert.equal(type(value), typeof(value)) end end) it("should id...
120
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/Packages/_Index/evaera_promise@4.0.0/promise/modules/testez/modules/lemur/lib/functions/warn.lua
luau
.lua
local function warn(...) local count = select("#", ...) for i = 1, count do local piece = select(i, ...) io.stderr:write(tostring(piece)) if i < count then io.stderr:write("\t") end end io.stderr:write("\n") end return warn
71