Skip to content

Gun-Vue docs v0.21.4Docs


Gun-Vue docs v0.21.4 / Crypto / isHash

Function: isHash()

isHash(str): boolean

Checks if a given string is a valid hash.

Parameters

str: string

The string to check.

Returns

boolean

  • Returns true if the string is a valid hash, otherwise false.

Defined in

src/crypto/useCrypto.js:17

MIT