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
Antonio Cardenas -
Vladimir Dimitrov -
Michael Linson -
Abel -
Top comments (0)