diff --git a/base/array.jl b/base/array.jl index 64189afa33219..92c5f012b43c5 100644 --- a/base/array.jl +++ b/base/array.jl @@ -1080,6 +1080,8 @@ end Remove an item in `collection` and return it. If `collection` is an ordered container, the last item is returned. +See also: shift!, splice! + # Examples ```jldoctest julia> A=[1, 2, 3] @@ -1147,6 +1149,8 @@ end Remove the first `item` from `collection`. +See also: pop!, splice! + # Examples ```jldoctest julia> A = [1, 2, 3, 4, 5, 6] @@ -1316,6 +1320,8 @@ Subsequent items are shifted left to fill the resulting gap. If specified, replacement values from an ordered collection will be spliced in place of the removed item. +See also: pop!, shift! + # Examples ```jldoctest splice! julia> A = [6, 5, 4, 3, 2, 1]; splice!(A, 5)