* 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 struct. Defaults to `false`. * * **Warning**: This i
(
f: (fields: S["fields"]) => To,
options?: {
readonly unsafePreserveChecks?: boolean | undefined
} | undefined
)
| 14006 | * after the transformation. |
| 14007 | */ |
| 14008 | mapFields<To extends Struct.Fields>( |
| 14009 | f: (fields: S["fields"]) => To, |
| 14010 | options?: { |
| 14011 | readonly unsafePreserveChecks?: boolean | undefined |
no outgoing calls
no test coverage detected