Function isERC20

  • Type guard function that determines if a given object is an instance of the ERC20 interface.

    Returns

    • Returns true if the object is an instance of ERC20, false otherwise.

    Parameters

    • tokenInstance: ERC20

      The object to be checked.

    Returns tokenInstance is ERC20

Generated using TypeDoc