---
title: "Discussion on \"Translating TypeScript to Rust #2\" | Hashnode"
description: "Discussion on \"Translating TypeScript to Rust #2\". Remember that every translation is subject to inaccuracies in some cases. Feel free to correct or suggest better translations in the comments.\n2.1 - The if statement\nTypeScript\nconst condition: boolean = true\nif (condition) {\n  console.log('Print me!..."
url: "https://hashnode.com/posts/translating-typescript-to-rust-2/621e68001b723d167efd3828"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Translating TypeScript to Rust #2](https://blog.gabrielrufino.com/translating-typescript-to-rust-2?utm_source=hashnode&utm_medium=feed)

Remember that every translation is subject to inaccuracies in some cases. Feel free to correct or suggest better translations in the comments. 2.1 - The if statement TypeScript const condition: boolean = true if (condition) { console.log('Print me!...

Mar 1, 2022 · 2 min read · blog.gabrielrufino.com  
Updated Jul 25, 2024  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#rust](https://hashnode.com/tag/rust)
-   [#translation](https://hashnode.com/tag/translation)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)

## Written by

[Gabriel Rufino](https://hashnode.com/@gabrielrufino)

@gabrielrufino · Pernambuco, BR

  
[View profile](https://hashnode.com/@gabrielrufino)

Software Developer | Back-end

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
