Skip to main content

GetName

Returns the optional name assigned to the Vault.

const vault = new Vault("MyVault")
print(vault.GetName()) // "MyVault"

const unnamed = new Vault()
print(unnamed.GetName()) // undefined

Returns

string | undefined - The vault's name, if set