Skip to content

docs for collect() are incorrect #17439

@mlubin

Description

@mlubin
  collect(element_type, collection)

  Return an array of type Array{element_type,1} of all items in a collection.

New on 0.5:

julia> collect(Int,1)
0-dimensional Array{Int64,0}:
1

On 0.4 this returns a Vector{Int}. CC @yuyichao

Metadata

Metadata

Assignees

Labels

docsThis change adds or pertains to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions