existsKeyring: Check if a specific keyring exists

View source: R/Keyring.r

existsKeyringR Documentation

Check if a specific keyring exists

Description

This function checks for the existence of a keyring. It first standardizes the keyring ID using epiufKeyring function and then checks if this standardized ID is present in the list of keyrings.

Usage

existsKeyring(keyring_id)

Arguments

keyring_id

A string specifying the base keyring ID.

Value

A logical value; TRUE if the keyring exists, otherwise FALSE.

Examples

# Check if a keyring exists
keyring_exists <- existsKeyring("myKeyring")
print(keyring_exists) # Output: TRUE or FALSE, depending on existence

Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.