Asserts that the current stack frame is within an injection context, meaning it has access to injection functions (inject, optional, etc.).
inject
optional
The function performing the assertion, or a string name used in the error message.
If the current stack frame is not within an injection context.
Asserts that the current stack frame is within an injection context, meaning it has access to injection functions (
inject,optional, etc.).