Type Alias $<T, $O>

$<T, $O>: $ResolveOptions<[$O["exact"], false]> extends true
    ? $IsDistributive<$O, {
        $else: IsNotString._N<T, $O>;
        $then: IsNotString._D<T, $O>;
    }>
    : NotAssignable.$<T, string, $O>

🧰 type util

Validate if T is not string nor string literals.

This is a type util for building custom types. It does not check against special types.

Type Parameters