Function Graph Overview
    Preparing search index...

    Interface Case

    Represents a single case inside a switch statement.

    Cases are build of a condition and a consequence, where the condition may lead to the consequence.

    interface Case {
        conditionEntry: string;
        conditionExit: string;
        consequenceEntry: string;
        consequenceExit: null | string;
        alternativeExit: string;
        hasFallthrough: boolean;
        isDefault: boolean;
        isEmpty: boolean;
    }
    Index

    Properties

    conditionEntry: string

    The condition entry node

    conditionExit: string

    The condition exit node

    consequenceEntry: string
    consequenceExit: null | string
    alternativeExit: string
    hasFallthrough: boolean

    Does this case fall-through to the next one?

    isDefault: boolean

    Is this the default case?

    isEmpty: boolean

    A case may be entirely empty