valid-triangle
v1.0.0
Published
Given 3 side lengths, return true or false if valid triangle can be formed
Downloads
6
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