Kommentare
ColombiaGaboprogames2 months ago

buena snepy

ColombiaGaboprogames1 year ago
  • Hello
  •   Hello
    
  •                                                hello
    
  •  hello
    
  • Hello
  •                                                                                               Hello
    
ColombiaGaboprogames1 year ago
type function simple_keyof(ty)
    -- Ignoring unions or intersections of tables for simplicity.
    if not ty:is("table") then
        error("Can only call keyof on tables.")
    end

    local union = nil

    for property in ty:properties() do
        union = if union then types.unionof(union, property) else property
    end

    return if union then union else types.singleton(nil)
end

type person = {
    name: string,
    age: number,
}
--- keys = "age" | "name"
type keys = simple_keyof<person>
ColombiaGaboprogames1 year ago
function ispositive(x)
    return x > 0
end

print(ispositive(1))
print(ispositive("2"))

function isfoo(a)
    return a == "foo"
end

print(isfoo("bar"))
print(isfoo(1))
ColombiaGaboprogames1 year ago
script.parent.Workspace
ColombiaGaboprogames1 year ago

PLS VERIFY THIS

Gaboprogames Informationen
Third Member of 3DG
Beigetreten
3 years ago
Online
13 days ago
Läufe
6
Gespielte Spiele
Roblox: DOORS
Roblox: DOORS
Letzter Durchlauf 1 year ago
3
Läufe
ROBLOX: SHRUNKEN SCHOOL ESCAPE!! Adventure Obby
2
Läufe
Roblox: DOORS Category Extensions
Roblox: DOORS Category Extensions
Letzter Durchlauf 1 year ago
1
Lauf
Beobachtete Spiele
ROBLOX: SHRUNKEN SCHOOL ESCAPE!! Adventure Obby
16
Besuche
Roblox: DOORS
Roblox: DOORS
Letzter Besuch 13 days ago
31
Besuche