Casts a given value to the specified type.
The value to be cast.
The value cast to type T.
T
This function performs a type assertion and does not perform any runtime type checking. Use with caution, as incorrect usage may lead to runtime errors.
2.0.11
2021-02-01
Casts a given value to the specified type.