Create a record from a Record of another type.
This constructor can be used to homogenize types, for example to create a vector<Record<any>> from various Record<T>s with different Ts.
- Warning
- Source type TFrom must be castable to destination type T.
- See also
- cast