---
title: "Discussion on \"Type Aliases in kotlin\" | Hashnode"
description: "Discussion on \"Type Aliases in kotlin\". type alias provide alternative name for existing type. if type name is longer  can be introduces shorter name , it will not introduced new types, they are equivalent to corresponding types.\ndata class User(\n    val name:String? = null,\n)\n\n// alias fo..."
url: "https://hashnode.com/posts/type-aliases-in-kotlin/615f35318e8734462af5d305"
---

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

Discussion

# [Type Aliases in kotlin](https://sanjayprajapat.hashnode.dev/type-aliases-in-kotlin?utm_source=hashnode&utm_medium=feed)

type alias provide alternative name for existing type. if type name is longer can be introduces shorter name , it will not introduced new types, they are equivalent to corresponding types. data class User( val name:String? = null, ) // alias fo...

Oct 7, 2021 · 1 min read · sanjayprajapat.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)

## Written by

[sanjay prajapat](https://hashnode.com/@sanjayprajapat)

@sanjayprajapat

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
