@hebcal/core
    Preparing search index...

    Type Alias SedraResult

    The result from Sedra.lookup()

    type SedraResult = {
        chag: boolean;
        hdate: HDate;
        il: boolean;
        num: number | number[];
        parsha: string[];
    }
    Index

    Properties

    Properties

    chag: boolean

    False if this is a regular parashat HaShavua reading. True if it's a special holiday reading.

    hdate: HDate

    The date of the Shabbat this parsha is read

    il: boolean

    true if Israel, false for Diaspora

    num: number | number[]

    The parsha number (or numbers) using 1-indexing. A number for a regular (single) parsha, and a number[] for a doubled parsha. For Parashat Bereshit, num would be equal to 1, and for Matot-Masei it would be [42, 43] For a chag (holiday) reading, num will be 0.

    parsha: string[]

    Name of the parsha (or parshiyot) read on Hebrew date, e.g. ['Noach'] or ['Matot', 'Masei']