ntuple is probably what you are looking for.
julia> ntuple(i->1, 4)
(1, 1, 1, 1)
julia> typeof(ans)
NTuple{4, Int64}
ntuple is probably what you are looking for.
julia> ntuple(i->1, 4)
(1, 1, 1, 1)
julia> typeof(ans)
NTuple{4, Int64}