Do you use Typescript generics? 👹
type IsValueType<T> = T extends
| string
| number
| boolean
| null
| undefined
| Func
| Set<any>
| Map<any, any>
| Date
| Array<any>
? true
: false
Do you use Typescript generics? 👹
type IsValueType<T> = T extends
| string
| number
| boolean
| null
| undefined
| Func
| Set<any>
| Map<any, any>
| Date
| Array<any>
? true
: false
For further actions, you may consider blocking this person and/or reporting abuse
Vault Developer -
Sudhi Ranjan Gupta -
Shanu -
Nozibul Islam -
Top comments (0)