@alextheman/utility - v4.3.5
    Preparing search index...

    Interface CreateFormDataOptionsUndefinedOrNullResolution<Key>

    Options for resolving form data when it may be undefined or null, but not both.

    interface CreateFormDataOptionsUndefinedOrNullResolution<Key extends RecordKey> {
        arrayResolution?:
            | FormDataArrayResolutionStrategy
            | Partial<Record<Key, FormDataArrayResolutionStrategy>>;
        nullableResolution?: undefined;
        nullResolution?:
            | FormDataNullableResolutionStrategy
            | Partial<Record<Key, FormDataNullableResolutionStrategy>>;
        undefinedResolution?:
            | FormDataNullableResolutionStrategy
            | Partial<Record<Key, FormDataNullableResolutionStrategy>>;
    }

    Type Parameters

    • Key extends RecordKey

      The type of the key of the input record.

    Hierarchy

    • CreateFormDataOptionsBase<Key>
      • CreateFormDataOptionsUndefinedOrNullResolution
    Index

    Properties

    arrayResolution?:
        | FormDataArrayResolutionStrategy
        | Partial<Record<Key, FormDataArrayResolutionStrategy>>

    How to resolve any arrays provided in the data (can either stringify them or add them multiple times).

    nullableResolution?: undefined

    This must not be provided at the same time as undefinedResolution and/or nullResolution.

    nullResolution?:
        | FormDataNullableResolutionStrategy
        | Partial<Record<Key, FormDataNullableResolutionStrategy>>

    How to resolve null data (May either stringify to 'null', resolve to an empty string, or omit entirely).

    undefinedResolution?:
        | FormDataNullableResolutionStrategy
        | Partial<Record<Key, FormDataNullableResolutionStrategy>>

    How to resolve undefined data (May either stringify to 'undefined', resolve to an empty string, or omit entirely).