- :integer
- :floating
size
get size/length of given collection
Parameters
size collection :null :string :dictionary :object :block :range
Returns
Examples
copyarr: ["one" "two" "three"] print size arr ; 3
copydict: #[name: "John", surname: "Doe"] print size dict ; 2
copystr: "some text" print size str ; 9 print size "你好!" ; 3