Calls the "hasAnyRole" function on the contract.
import { hasAnyRole } from "thirdweb/extensions/modules"; const result = await hasAnyRole({ contract, user: ..., roles: ...,});
function hasAnyRole( options: BaseTransactionOptions<HasAnyRoleParams>,): Promise<boolean>;
The options for the hasAnyRole function.
let options: BaseTransactionOptions<HasAnyRoleParams>;
let returnType: Promise<boolean>;
The parsed result of the function call.