We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18a5f3 commit 1a02461Copy full SHA for 1a02461
src/ArrayInterface.jl
@@ -36,7 +36,7 @@ known_length(x) = known_length(typeof(x))
36
known_length(::Type{<:NTuple{N,<:Any}}) where {N} = N
37
known_length(::Type{<:NamedTuple{L}}) where {L} = length(L)
38
known_length(::Type{T}) where {T<:Base.Slice} = known_length(parent_type(T))
39
-known_length(::Type{T}) where {T} = false
+known_length(::Type{T}) where {T} = nothing
40
41
"""
42
can_change_size(::Type{T}) -> Bool
0 commit comments