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
Jagroop Singh -
Sunil Kumar Dash -
balrajOla -
Bruno Ciccarino λ -
Top comments (0)