Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit 921b65b

Browse files
committed
add index-less values()
1 parent aafa554 commit 921b65b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/primitives.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Base.isnull(x::NullableArray) = x.isnull
22
@inline Base.isnull(X::NullableArray, I::Int...) = X.isnull[I...]
33
@inline Base.isnull{T}(X::AbstractNullableArray{T}, I::Int...) = isnull(X[I...]) # fallback method
44

5+
Base.values(X::NullableArray) = X.values
56
@inline Base.values(X::NullableArray, I::Int...) = X.values[I...]
67

78
"""

0 commit comments

Comments
 (0)