Type alias IsItRecordAndNotAny<T>

IsItRecordAndNotAny<T>: IfEquals<T, any, false, T extends Record<any, any>
    ? true
    : false>

Type Parameters

  • T

    A generic type to be checked.

Summary

Checks if a type is "Record" or "any".

Description

It Helps to check if user has provided schema type "EnforcedDocType"

Returns

true if T is Record OR false if T is of any type.

Generated using TypeDoc