.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Builtins.size" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Builtins::size \- Length of an array .SH "SYNOPSIS" .B Int size( \fIvar [a] xs\fP .B ")" .SH "ARGUMENTS" .PP .B "xs" An array .SH "DESCRIPTION" .PP Return the length of an array. The empty array has length 0, and uninitialised elements are considered to exist for the purposes of determining length. .IP "" -4 arr = []; arr[5] = 26; l = length(arr); // 6 .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.