250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- evm
- JavaScript
- SSR
- API
- typeScript
- nextJS
- Ethereum
- node.js
- blockchain
- error
- CSS
- useState
- HTML
- hardhat
- REACT
- tailwindcss
- solidity
- express.js
- built in object
- bitcoin
- Props
- middleware
- web
- 기준
- 삶
- CLASS
- Redux
- graphQL
- Interface
- concept
Archives
- Today
- Total
목록Type Guard (1)
ReasonJun
Typescript : Type Guard
In TypeScript, a type guard is a runtime check that allows you to narrow down the type of a value within a conditional block. Type guards enable you to make more precise type inferences based on certain conditions, improving type safety and enabling more expressive and reliable code. Type guards are particularly useful when working with union types or when the TypeScript compiler cannot determin..
Frontend/Typescript
2023. 6. 10. 12:10