(input: A, ast: AST.AST)
| 6892 | ) {} |
| 6893 | |
| 6894 | const decodeDateTimeUtc = <A extends dateTime.DateTime.Input>(input: A, ast: AST.AST) => |
| 6895 | ParseResult.try({ |
| 6896 | try: () => dateTime.unsafeMake(input), |
| 6897 | catch: () => |
| 6898 | new ParseResult.Type(ast, input, `Unable to decode ${Inspectable.formatUnknown(input)} into a DateTime.Utc`) |
| 6899 | }) |
| 6900 | |
| 6901 | /** |
| 6902 | * Defines a schema that attempts to convert a `number` to a `DateTime.Utc` instance using the `DateTime.unsafeMake` constructor. |
no outgoing calls
no test coverage detected