HTML:function isgte106() { // 10.6 or above if( system.compareVersions(my.target.systemVersion.ProductVersion, '10.6') >= 0 ) { return true; } return false; }
I'm assuming that the function name "isgte106" in this code means "is greater than or equal to 10.6". If systemVersion.ProductVersion refers to the version of Mac OS X, then this function would presumably be useful because some feature was available only starting with that release. Why would the SDK installer code have a function to test for Mac OS X 10.6 or above? Is this function called anywhere?
I doubt it's a typo, since the 6 is in the function name and twice in the function body.