khis_has_cred {khisr}R Documentation

Are There Credentials on Hand?

Description

Are There Credentials on Hand?

Usage

khis_has_cred()

Value

a boolean value indicating if the credentials are available

See Also

Other credential functions: khis_cred(), khis_cred_clear(), khis_username()

Examples


# Set the credentials
khis_cred(username = 'KHIS username', password = 'KHIS password')

# Check if credentials available. Expect TRUE
khis_has_cred()

# Clear credentials
khis_cred_clear()

# Check if credentials available. Expect FALSE
khis_has_cred()

[Package khisr version 1.0.2 Index]