XYO Platform SDK - v3.10.6
    Preparing search index...

    Variable asAttachableModuleInstanceConst

    asAttachableModuleInstance: {
        <
            TType extends
                AttachableModuleInstance<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    ModuleEventData<object>,
                >,
        >(
            value: AnyNonPromise,
            config?: TypeCheckConfig,
        ): undefined | TType;
        <
            TType extends
                AttachableModuleInstance<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    ModuleEventData<object>,
                >,
        >(
            value: AnyNonPromise,
            assert: StringOrAlertFunction<
                AttachableModuleInstance<
                    BaseParamsFields & {
                        account?: AccountInstance
                        | "random";
                        additionalSigners?: AccountInstance[];
                        addToResolvers?: boolean;
                        allowNameResolution?: boolean;
                        config: AnyConfigSchema;
                        ephemeralQueryAccountEnabled?: boolean;
                        moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                        privateChildren?: ModuleInstance[];
                        publicChildren?: ModuleInstance[];
                    },
                    ModuleEventData<object>,
                >,
            >,
            config?: TypeCheckConfig,
        ): TType;
    }

    Type declaration