key_exists: Does a given key exist in a keyring

View source: R/key.R

key_existsR Documentation

Does a given key exist in a keyring

Description

In an unlocked keyring return if a key exists.

Usage

key_exists(keyring, key)

Arguments

keyring

character(1); Name of keyring

key

character(1); Name of key

Value

logical(1); Existance of key in keyring

Examples

## Not run: 
key_exists('mypersonalkeyring', 'key1')

## End(Not run)

shelter documentation built on April 3, 2025, 10:30 p.m.