Body, Mind & Soul — API Reference
    Preparing search index...

    Function scryDeck

    • Scry a deck: prompt for a count, draw that many cards from the top of the available pile, and open a ScryDialog to reorder or dispose of them.

      Config:

      • deck: the Cards document to scry. Nothing happens when falsy. The count prompt defaults to 3. Non-numeric or non-positive input cancels silently. An empty available pile shows a warning and stops.

      Parameters

      • deck: any

        The deck (Cards document with system.scry(count)) to scry.

      Returns Promise<void>

      Resolves when the dialog is shown or the workflow stops early.