---
title: "Discussion on \"대수 타입(Algebraic type)\" | Hashnode"
description: "Discussion on \"대수 타입(Algebraic type)\". 대수 타입(Algebraic type)\n대수 타입이란 여러개의 타입을 합성해서 만드는 타입을 말한다.\n합집합(Union) 타입\nlet a: string | number | boolean;\n\na = 1;\na = \"hello\";\na = true;\n\n\nUnion 타입으로 배열 타입 정의하기\nlet arr: (number | string | boolean)[] = [1, \"hello\", true];\n\n\nUnion 타입과 객체 타입\ntype Dog = ..."
url: "https://hashnode.com/posts/algebraic-type/65f6e4684f9eed70c4d0b040"
---

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

Discussion

# [대수 타입(Algebraic type)](https://woodstock.hashnode.dev/algebraic-type?utm_source=hashnode&utm_medium=feed)

대수 타입(Algebraic type) 대수 타입이란 여러개의 타입을 합성해서 만드는 타입을 말한다. 합집합(Union) 타입 let a: string | number | boolean; a = 1; a = "hello"; a = true; Union 타입으로 배열 타입 정의하기 let arr: (number | string | boolean)\[\] = \[1, "hello", true\]; Union 타입과 객체 타입 type Dog = ...

Dec 9, 2023 · 1 min read · woodstock.hashnode.dev  
Read the article

-   [#intersection](https://hashnode.com/tag/intersection)
-   [#6rwq7ker7zwpio2dgoyehq](https://hashnode.com/tag/6rwq7ker7zwpio2dgoyehq)
-   [#64ya7iiyio2dgoyehq](https://hashnode.com/tag/64ya7iiyio2dgoyehq)
-   [#7zwp7ker7zwpio2dgoyehq](https://hashnode.com/tag/7zwp7ker7zwpio2dgoyehq)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#union](https://hashnode.com/tag/union)

## Written by

[woodstock](https://hashnode.com/@woodstock229)

@woodstock229 · Korea, Republic of

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

Continuously Evolving Front-End Developer: Passionate about Learning and Growing Every Day

안녕하세요! 프론트엔드 개발자 woodstock입니다. 저는 매일 조금씩 발전하고자 하는 마음으로 개발공부를 시작했고, 이 블로그는 그 과정에서 배우고 성장하는 이야기를 담고 있습니다. 여러분의 피드백과 조언은 언제나 환영합니다! 함께 배우고 성장하는 과정을 즐길 수 있기를 기대합니다.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
