Generation

generate functionWed, 08 Feb 2023

check to make sure the value is a number

function check_num(num) { return (typeof num == "number") ? true : false; }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant