public override bool CheckArgs(JSContext ctx, int argc, JSValue[] argv)
        {
            if (_isVarargMethod)
            {
                if (_inputParameters.Length - 1 > argc)
                {
                    return(false);
                }

                return(Values.js_match_parameters_vararg(ctx, argv, _inputParameters));
            }
            else
            {
                if (_inputParameters.Length != argc)
                {
                    return(false);
                }

                return(Values.js_match_parameters(ctx, argv, _inputParameters));
            }
        }