]> gerrit.simantics Code Review - simantics/district.git/blob - hypot/is-implemented.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / hypot / is-implemented.js
1 'use strict';
2
3 module.exports = function () {
4         var hypot = Math.hypot;
5         if (typeof hypot !== 'function') return false;
6         return hypot(3, 4) === 5;
7 };