Darwin Help

Back to Index

length

Function length - length of an object

Calling Sequence  length(obj)
Parameters
NameTypeDescription

obj {array,list,set,string}any object
Return Type  {0,posint}
Synopsis Returns the length of the given object obj.
Examples
> length('');
0
> length({1,2,{a,b,c}});
3
> length([1,2,3,4]);
4
> length('length');
6
See also assemble,   Class,   CreateArray,   disassemble,   size