@size(x:value)

If x is a scalar value, the function returns a strictly negative integer related to the type of the argument (that is, two scalar values of the same type gives the same result).

If x is a map or a tab, the function returns the number of elements in its argument (which is a positive integer).

If it is a nim, it returns the number of breakpoints of the nim (which is not the dimension of the nim). Note that a nim with zero breakpoints is the result of a wrong definition.

See also @shape and Predicates @!=    @&&    @||    @<=    @<    @==    @>=    @>    @approx    @arch_darwin    @arch_linux    @arch_windows    @between    @empty    @find    [@is_applicable]    [@is_applicable_exe]    @is_bool    @is_defined    @is_exec    @is_fct    @is_float    @is_fct    [@is_fun]    @is_function    @is_int    @is_integer_indexed    @is_list    @is_map    [@is_Napplicable]    @is_nim    [@is_not_initialized]    @is_numeric    [@is_paf]    @is_obj    @is_obj_xxx    @is_prefix    @is_proc    @is_string    [@is_string_or_symbol]    @is_subsequence    @is_suffix    @is_symbol    @is_tab    @is_undef    @is_vector    @member    @occurs