(u: unknown)
| 193 | * @since 4.0.0 |
| 194 | */ |
| 195 | export function isTransformation(u: unknown): u is Transformation<any, any, unknown, unknown> { |
| 196 | return Predicate.hasProperty(u, TypeId) && u[TypeId] === TypeId |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Constructs a `Transformation` from an object with `decode` and `encode` |