onStack

Is the given pointer located on the stack of the current thread? Useful to assert on before taking the address of e.g. a struct member.

bool
onStack
(
const(void)* p
)

Meta