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