dyna-record
    Preparing search index...

    Type Alias IsNullableConditionKey<T, K>

    IsNullableConditionKey: K extends keyof EntityAttributesOnly<T>
        ? undefined extends EntityAttributesOnly<T>[K] ? true : false
        : K extends string
            ? undefined extends TypeAtDotPath<EntityAttributesOnly<T>, K>
                ? true
                : false
            : false

    Whether a condition key names an attribute, or a field below one, that is declared nullable.

    Optionality is how the declared type marks a nullable attribute, at the top level and inside an @ObjectAttribute schema alike. A dot path is resolved to the field it names; one that names no single field is not nullable.

    Type Parameters

    • T extends default

      The entity the key belongs to.

    • K

      The condition key.