* 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
)
| 4854 | * after the transformation. |
| 4855 | */ |
| 4856 | mapMembers<To extends ReadonlyArray<Constraint>>( |
| 4857 | f: (members: Members) => To, |
| 4858 | options?: { |
| 4859 | readonly unsafePreserveChecks?: boolean | undefined |
no outgoing calls
no test coverage detected