Current section
Files
Jump to
Current section
Files
src/unsafe_cast.gleam
/// Make sure to explicitly define the input and output type of functions to retrict the usage!
@external(erlang, "unsafe_cast_ffi", "an_unsafe_cast")
@external(javascript, "./unsafe_cast_ffi.mjs", "_unsafe_cast")
pub fn unsafe_function_that_simply_renames_the_type_of_this_value_to_another_type_and_i_am_sure_that_this_usage_is_safe(
x: from_type,
) -> to_type