Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY CYBERSECURITY DATA SCIENCE
     ❯   

VBScript IsNull Function


❮ Complete VBScript Reference

The IsNull function returns a Boolean value that indicates whether a specified expression contains no valid data (Null). It returns True if expression is Null; otherwise, it returns False.

Syntax

IsNull(expression)

Parameter Description
expression Required. An expression

Example

Example

<%

Dim x
response.write(IsNull(x) & "<br />")
x=10
response.write(IsNull(x) & "<br />")
x=Empty
response.write(IsNull(x) & "<br />")
x=Null
response.write(IsNull(x))

%>

The output of the code above will be:

False
False
False
True
Show Example »

❮ Complete VBScript Reference