isHash
Definition
Checks if a given string is an hash
Usage
It takes 1 argument.
- the string to check.
const not_address = "No";
const utils = @import(zabi).utils;
const std = @import("std");
utils.isHash(std.testing.allocator, not_address);
// Result
// false
Returns
Type: bool