1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-17 20:11:50 +02:00
This commit is contained in:
Justin Lin
2021-02-07 17:16:35 +08:00
parent ddd0752a24
commit 1e6a37e481

View File

@@ -11,5 +11,5 @@
use <bsearch.scad>;
function has(lt, elem, sorted = false) =
sorted ? bsearch(lt, elem, by = "vt") != -1 :
sorted ? bsearch(lt, elem) != -1 :
search([elem], lt) != [[]];