The argument to check or convert, which can be either a simple or entry function argument type.
The expected type tag for the argument.
The position of the argument in the function call.
An array of generic type parameters that may be used for conversion.
OptionalmoduleAbi: MoveModuleThe ABI of the module containing the function, used for type checking.
Optionaloptions: { allowUnknownStructs?: boolean }Options for the conversion process.
Checks if the provided argument is BCS encoded and converts it if necessary, ensuring type compatibility with the ABI. This is the synchronous version that works offline with pre-fetched ABIs. Does NOT support struct/enum arguments - use checkOrConvertArgumentWithABI for those.