Function assert

  • Parameters

    • condition: boolean
    • message: string
    • isWarn: boolean = false

    Returns asserts condition