• Asserts condition is true. Otherwise, throws an Error with the provided message.

    Parameters

    • condition: boolean
    • Optional msg: string | (() => string)

    Returns asserts condition

Generated using TypeDoc