This commit is contained in:
narawat lamaiin
2024-12-09 20:29:28 +07:00
parent 159d1717a4
commit d4895a728d
27 changed files with 7742 additions and 4002 deletions

View File

@@ -1,23 +1,23 @@
using Revise
function testf(a)::NamedTuple{(:a, :b), Tuple{Union{Nothing, Int}, Int}}
if a == 1
return (a=nothing, b=5)
else
return (a=5, b=5)
end
end
q = testf(1)
w = testf(2)
using Revise
function testf(a)::NamedTuple{(:a, :b), Tuple{Union{Nothing, Int}, Int}}
if a == 1
return (a=nothing, b=5)
else
return (a=5, b=5)
end
end
q = testf(1)
w = testf(2)