Function maybeToDeepPartial

  • If the given validator is an object validator, it will be cloned to a deep partial validator, otherwise returns the validator as is.

    Parameters

    Returns Validator<any>