function pointNearTool(element, data, coords) {
  var isPointNearTool = pointNearHandle(element, data, coords);

  // JPETTS - if returns index 0, set true (fails first condition as 0 is falsy).
  if (isPointNearTool !== null) {
    return true;
  }

  return false;
}
/**
* Returns true if the mouse cursor is near a handle
*
* @param {Object} eventData - data object associated with an event.
* @param {Number} toolIndex - the ID of the tool
* @return {Boolean}
*/
Returns true if the mouse cursor is near a handle
Returns true if the mouse cursor is near a handle
function pointNearTool(element, data, coords) {
  var isPointNearTool = pointNearHandle(element, data, coords);
  if (isPointNearTool !== null) {
    return true;
  }
  return false;
}
function pointNearTool ( element , data , coords ) { var isPointNearTool = pointNearHandle ( element , data , coords ) ; if ( isPointNearTool !== null ) { return true ; } return false ; }
Returns true if the mouse cursor is near a handle
Returns true if the mouse cursor is near a handle
// JPETTS - if returns index 0, set true (fails first condition as 0 is falsy).