default: Gets and sets the default value of a dictionary.

Description Usage Arguments Value

View source: R/dict.r

Description

Functions to get and set the default value of a dictionary. The default value is returned when a non-existing key is accessed.

Usage

1
2
3
default(dict)

default(dict) <- value

Arguments

dict

an existing dictionary object

value

the new default value

Value

the modified dictionary


stefano-meschiari/dict documentation built on May 30, 2019, 10:44 a.m.