mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 01:34:12 +02:00
refactor
This commit is contained in:
@@ -11,5 +11,5 @@
|
|||||||
use <bsearch.scad>;
|
use <bsearch.scad>;
|
||||||
|
|
||||||
function has(lt, elem, sorted = false) =
|
function has(lt, elem, sorted = false) =
|
||||||
sorted ? bsearch(lt, elem, by = "vt") != -1 :
|
sorted ? bsearch(lt, elem) != -1 :
|
||||||
search([elem], lt) != [[]];
|
search([elem], lt) != [[]];
|
Reference in New Issue
Block a user