Iteration
As you might expect, sequence types are iterators over their elements:
julia> n = 0
0
julia> for nt in dna"ATNGNNT"
if nt == DNA_N
global n += 1
end
end
julia> n
3
As you might expect, sequence types are iterators over their elements:
julia> n = 0
0
julia> for nt in dna"ATNGNNT"
if nt == DNA_N
global n += 1
end
end
julia> n
3
Settings
This document was generated with Documenter.jl on Thursday 7 July 2022. Using Julia version 1.7.3.