Function isEncodedStruct

  • Determines whether the given object is an encoded struct type with the following properties:

    • account_address: string
    • module_name: string
    • struct_name: string

    Parameters

    • structObj: any

      The object to check

    Returns structObj is {
        account_address: string;
        module_name: string;
        struct_name: string;
    }

    Whether the object is an encoded struct type