isNull()

ICE Data Services -

isNull() Utility Functions

The isNull() function compares a value to the null value and returns true if the value is equal to null and false otherwise.

Syntax
isNull( Value )

Parameters
Parameter: Description:Default:
Value Required.  A value or variable to be compared to null.

 

n/a
Return Value(s)
Returns Boolean (true/false)

Notes
N/A

Code Examples
function main() {	var study = sma(20); 	var nSMA = study.getValue(0); 		if( isNull(nSMA) ) setBarBgColor(Color.yellow); 		return nSMA;	}



See Also
Utility Functions
eSignal Bulletin Board Search Engine
Help Guides and Tutorials