JanetDocsPlaygroundI'm feeling luckyGitHub sign in

array/new



    cfunction
    src/core/array.c on line 128, column 1

    (array/new capacity)

    Creates a new empty array with a pre-allocated capacity. The same 
    as `(array)` but can be more efficient if the maximum size of an 
    array is known.


0 examplesSign in to add an example
Loading...