koSakano/type-challenges

223 - IsAny

Opened this issue · 0 comments

type IsAny<T> = ((arg: [any]) => any) extends (arg: T) => T ? true : false;