isNotMap

Returns true if the given Object is not of Type java.util.Map.

isNotMap(obj) → returns boolean

This function requires Lucee. Not supported on Adobe ColdFusion.

isNotMap Argument Reference

obj any
Required

Examples sample code invoking the isNotMap function

myMap = createObject('java','java.util.HashMap');
myMap.put('a','1');
writeOutput(isNotMap(myMap));

Expected Result: true

myStruct = {'a': 1};
writeOutput(isNotMap(myStruct));

Expected Result: false


Fork me on GitHub