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
Michael Joseph -
MD ARIFUL HAQUE -
Ashish prajapati -
HolaWagtail -
Top comments (0)