how to check if a function argument is of a specific type code example Example: check if function javascript variableToCheck instanceof Function