Is there a way to tell if a function was `@inline`’d?

answer from Matt Bauman on Slack

Best way I’m aware of is to @code_typed an outer function and see if the inner function disappears when you go from optimize=false to true .

4 Likes