Type Alias IsAny<T>

IsAny<T>: 0 extends 1 & T
    ? true
    : false

true if T extends any, otherwise false

Type Parameters

  • T