Test whether bounds checking is on?

dear j experts—I want to put a variety of asserts into my code, sort of like “programming by contract.” the cases in which I care about checking them are exactly the cases in which I like bounds checking; and when I want to speed it up, I am happy not to do my asserts. so, is there a const I can test to see whether bounds checking is currently enabled?

regards, /iaw

IIUC you can use @boundscheck for that.