import { checkForForbiddenParameters } from "https://deno.land/x/docxml@5.15.1/src/utilities/parameter-checking.ts";
A function that can be used to test that all the parameters of an object pass a particular test. This can be used to check that no values in an object are NaN, or could be used to check that values are inside a particular range.
Parameters
objectToCheck: ObjectToCheck
An object whose parameters we want to validate.
A callback function that we use to check the values of our object. The callback will be used recursively if objectToCheck has nested values.