Directus / @directus/sdk / rest / verifyHash
Function: verifyHash() ​
verifyHash<
Schema>(string,hash):RestCommand<boolean,Schema>
Defined in: rest/commands/utils/hash.ts:23
Verify a string with a hash.
Type Parameters ​
• Schema
Parameters ​
string ​
string
Source string.
hash ​
string
Hash you want to verify against.
Returns ​
RestCommand<boolean, Schema>
Boolean.