@param for isFunction