@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Type Alias SwitchCase<T>

    Represents a case in a switch-like structure where a specific value is matched.

    type SwitchCase<T> = {
        operation: () => void;
        value: T;
    }

    Type Parameters

    • T

      The type of the value to be checked.

    Index

    Properties

    Properties

    operation: () => void

    The function to execute when this case is matched.

    value: T

    The value to be checked against.