Learn R Programming

shelter (version 0.2.1)

key_exists: Does a given key exist in a keyring

Description

In an unlocked keyring return if a key exists.

Usage

key_exists(keyring, key)

Value

logical(1); Existence of key in keyring

Arguments

keyring

character(1); Name of keyring

key

character(1); Name of key

Examples

Run this code
if (FALSE) {
key_exists('mypersonalkeyring', 'key1')
}

Run the code above in your browser using DataLab