What does the function checkSlow do?

In C++ projects, what does the function checkSlow do?

It’s an assertion like the normal check(), but, from what I understand, primarily used in debug mode. For more information on assertions and checkslow specifically, look here:

checkSlow is an assertion which prints callstack to log and console.