( path: SchemaPath<unknown>, predicate: (value: unknown) => boolean, schema: SchemaOrSchemaFn<unknown>, )
| 388 | ): void; |
| 389 | |
| 390 | export function applyWhenValue( |
| 391 | path: SchemaPath<unknown>, |
| 392 | predicate: (value: unknown) => boolean, |
| 393 | schema: SchemaOrSchemaFn<unknown>, |
| 394 | ) { |
| 395 | applyWhen(path, ({value}) => predicate(value()), schema); |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Submits a given `FieldTree` using the given action function and applies any submission errors |
no test coverage detected