• A typical assert function for Typescript with an optional message.

    Parameters

    • value: unknown
    • Optionalmsg: string

    Returns asserts value