Skip to content
Muchhala's World

Muchhala's World

Traveling Geek

  • Home
  • Tech
  • Travel
    • India
      • Kerala
    • Thailand
    • United Kingdom

Tag: reflection

[JavaScript] Check if a function Exists or Not

JavaScript Logo

If you want to check if a function exists or not before calling, here’s how to do it if(typeof window.functionName == ‘function’) { functionName (arg1, arg2); } It returns a boolean value indicating if the function exists or not.

Published April 9, 2012
Categorised as Tech Tagged Coding, function, JavaScript, reflection, Tech

Recent Posts

  • Apple Halwa
  • GIT: Get Tag Details of Current Checkout
  • Hibernate: Dynamic Insert
  • Kerala Travelogue – Kovalam
  • Kerala Travelogue – Alleppey

Tags

300 address field drop down arrow Alleppey Beach Beta Celebrations Coding Computers exams F1 fernando-alonso ferrari Google Guide Houseboat indian-media Internet Kerala Keyboad Shortucts Kochi Kovalam lewis-hamilton Life Update mclaren Microsoft Microsoft Office 2010 monaco-gp monsoon-showers mumbai-university Munnar Office 2010 prediction Random Review ron-dennis Setup SMS-campaigns Softwares team-orders Tech Technical Preview Videos Web Windows Windows 8
  • Home
  • Privacy Policy
  • Contact
Muchhala's World
Proudly powered by WordPress.