README
valid-triangle
Given 3 side lengths, return true or false if valid triangle can be formed.
const validTriangle = require('valid-triangle');
validTriangle([3, 4, 5]); // true
validTriangle([3, 4, 10]); // false
Given 3 side lengths, return true or false if valid triangle can be formed.
<script type="module">
import validTriangle from 'https://cdn.skypack.dev/valid-triangle';
</script>
Given 3 side lengths, return true or false if valid triangle can be formed.
const validTriangle = require('valid-triangle');
validTriangle([3, 4, 5]); // true
validTriangle([3, 4, 10]); // false