Next: , Previous: , Up: dynamic arrays   [Index]


40.2 Inspecting dynamic array objects

The following syntactic bindings are exported by the library (vicare containers dynamic-arrays). The syntactic bindings whose name is prefixed with $ are unsafe operations: they do not validate their arguments before accessing them.

Function: dynamic-array-empty? arry
Function: $dynamic-array-empty? arry

Return #t if arry is empty; otherwise return #f.

Function: dynamic-array-not-empty? arry
Function: $dynamic-array-not-empty? arry

Return #t if arry is not empty; otherwise return #f.

Function: dynamic-array-length arry
Function: $dynamic-array-length arry

Return a non–negative fixnum representing the number of objects in arry.

Function: dynamic-array-size arry
Function: $dynamic-array-size arry

Aliases for dynamic-array-length and $dynamic-array-length.