py_like/
types.rs

1/// ```py
2/// type(a)
3/// ```
4///
5/// # Usage
6///
7/// ```rust
8/// use py_like::type_of; // This is even a test..
9/// let a = 1.0;
10/// println!("{}", type_of(&a));
11/// ```
12pub fn type_of<T>(_: &T) -> String {
13    format!("{}", std::any::type_name::<T>())
14}