Always returns true, allowing input to be treated as unknown without any runtime checks.
Type Declaration
(_input:unknown,..._args:any[]):_inputisunknown
This function is used to create a type guard that always returns true, effectively allowing
the input to be treated as the specified type without any runtime checks.
Parameters
_input: unknown
..._args: any[]
Returns _inputisunknown
Example
assume<string>(42); // true (no runtime check is performed)
Always returns
true, allowinginputto be treated asunknownwithout any runtime checks.