JanetDocsPlaygroundI'm feeling luckyGitHub sign in

table/to-struct



    cfunction
    src/core/table.c on line 334, column 1

    (table/to-struct tab)

    Convert a table to a struct. Returns a new struct. This function 
    does not take into account prototype tables.


1 exampleSign in to add an example
Loading...
(table/to-struct @{:a 1}) # => {:a 1}
swlkrPlayground