Enode — API Reference
    Preparing search index...

    Type Alias PopGuard

    PopGuard: () => boolean | void

    A pushed view's veto over a user-initiated pop. Return false to keep the view (it then typically shows its own confirmation and pops itself with useDrawerStack().pop()); any other return lets the pop go ahead.

    Type Declaration

      • (): boolean | void
      • Returns boolean | void