Added missing argument to isFunctionType