R: Returns the number of items in a hash

length {hash} | R Documentation

## Returns the number of items in a hash

### Description

Returns the number of items in a hash

### Details

Return the number of items in the hash by calling `length` on the internal environment.

### Value

`integer` | Number of items in the hash.

### Author(s)

Christpher Brown

### See Also

See Also `hash`, `length`

### Examples

      h <- hash( letters, 1:26 )
      length(h) # 26

[Package hash version 2.2.6 Index]