if(clientId) var url = BASE_URL+'/projects/task-filter/?client='+clientId+'&offset=0';
else var url = BASE_URL+'/projects/tasks/?user='+userId+'&offset=0';
what should i write in the code if the condition is to check the clientId is a number.have any built function to check the variale is numer or not