* Returns a new union with the members modified by the provided function. * * **Details** * * Options: * * - `unsafePreserveChecks` - if `true`, keep any `.check(...)` constraints * that were attached to the original union. Defaults to `false`. * * **Warning**: This is
(
f: (members: Members) => To,
options?: {
readonly unsafePreserveChecks?: boolean | undefined
} | undefined
)
| 4693 | * |
| 4694 | * - `unsafePreserveChecks` - if `true`, keep any `.check(...)` constraints |
| 4695 | * that were attached to the original union. Defaults to `false`. |
| 4696 | * |
| 4697 | * **Warning**: This is an unsafe operation. Since `mapFields` |
| 4698 | * transformations change the schema type, the original refinement functions |
no outgoing calls
no test coverage detected