Checks that an IR object has the required structure before passing it to JavaScript. This catches malformed IR early with informative error messages.
Checks that an IR object has the required structure before passing it to JavaScript. This catches malformed IR early with informative error messages.