Type alias ExcludeStringValues<T, K>

ExcludeStringValues<T, K>: string extends T[K]
    ? never
    : K

ExcludeStringValues<T, K> Excludes keys from an object type T where the value type is assignable to string.

Type Parameters

  • T

    The object type to process.

  • K extends keyof T

    The key to be checked in object T.

Returns

The key K if its value in T is not a string type; otherwise, never.

Generated using TypeDoc