• Throw error if the argument is false

    Parameters

    • argument: boolean
    • errorMsg: string = "Assertion failed"

    Returns void