Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created October 19, 2013 15:47
Show Gist options
  • Save adamcameron/7057599 to your computer and use it in GitHub Desktop.
Save adamcameron/7057599 to your computer and use it in GitHub Desktop.
Null type check
<cfset nullValue = null>
<cfoutput>
isSimpleValue(): #isSimpleValue(nullValue)#<br>
isObject(): #isObject(nullValue)#<br>
class: #nullValue.getClass().getName()#<br>
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment