JavaScript Program to Check If a Variable is of Function Type | Vultr Docs