* Returns a new struct with the fields 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: (fields: Fields) => To,
options?: {
readonly unsafePreserveChecks?: boolean | undefined
} | undefined
)
| 3511 | * after the transformation. |
| 3512 | */ |
| 3513 | mapFields<To extends Struct.Fields>( |
| 3514 | f: (fields: Fields) => To, |
| 3515 | options?: { |
| 3516 | readonly unsafePreserveChecks?: boolean | undefined |
nothing calls this directly
no outgoing calls
no test coverage detected