Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Function apiCheckAndDismissFunction

    • Checks a condition and dismisses the specified notification if it holds.

      Parameters

      • notificationId: string

        ID of the notification to dismiss.

      • api: IExtensionApi

        Vortex extension API.

      • checkFunction: () => boolean

        Condition function; if it returns true, the notification is dismissed.

      Returns void