You need to check the type of the function parameter.
Tips
usage
Programming compound: 函数 = function + 参数 = parameter. Chinese doesn't distinguish parameter (formal) vs. argument (actual) as strictly as English — 参数 covers both; 实参/形参 are used when precision matters.