We avoid using node:assert to keep compatibility with a browser environment.
Note the checks should not have any side effects, since we might decide
to remove all of them in a post-processing step.
NOTE the function is intended to be used as tagged template string for the performance
reasons.
A function to perform runtime assertions.
We avoid using
node:assertto keep compatibility with a browser environment. Note the checks should not have any side effects, since we might decide to remove all of them in a post-processing step.NOTE the function is intended to be used as tagged template string for the performance reasons.