Skip to contents

BTreeMap<String, T>: unique string keys in code-point order, a named vector or list in R. Two maps with the same keys and values are equal in any order of construction. Canonical JSON writes the keys in RFC 8785's UTF-16 order, which differs from code-point order only for keys that mix characters above U+FFFF with characters from U+E000 to U+FFFF.

Usage

btree_map(type, keys = NULL)

Arguments

type

An r8_field_type or an R8 type: The value type.

keys

Optional r8_field_type: A type_character() constraining the keys.

Value

An r8_field_type.

Examples

btree_map(type_integer())
#> <r8 field type> map of integer