Given the fluidity of the same value that can act as a map, list or single value depending on context, I'm having second thoughts about this function. I think it should be `is-type-of($obj, $type-name)` with this api we can return `true` for both `is-type-of((), map)` and `is-type-of((), list)`.

I'm not sure `type-of` must be deprecated, but I think the above function is going to be saner to work with.