function ok(value, message) {
    if (!value) {
        throw new Error(message ? `Assertion failed (${message})` : 'Assertion Failed');
    }
}
Throws an error with the provided message if the provided value does not evaluate to a true Javascript value.

@deprecated Use `assert(...)` instead.
This method is usually used like this:
```ts
import * as assert from 'vs/base/common/assert';
assert.ok(...);
```

However, `assert` in that example is a user chosen name.
There is no tooling for generating such an import statement.
Thus, the `assert(...)` function should be used instead.