We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lattice/conceptBelow
1 parent bc0441b commit d042ac7Copy full SHA for d042ac7
TODO.md
@@ -1,6 +1,5 @@
1
# lattice
2
3
-`lattice/conceptBelow`
4
`lattice/conceptAbove`
5
6
`LatticeLayout`
src/lattice/conceptBelow.ts
@@ -1,7 +1,9 @@
import { assertSameContext } from "../concept/assertSameContext.js"
import type { Concept } from "../concept/Concept.js"
+import { setIsSubsetOf } from "../utils/Set.js"
export function conceptBelow(x: Concept, y: Concept): boolean {
assertSameContext([x, y], { who: "conceptBelow" })
- return false
7
+
8
+ return setIsSubsetOf(x.extent, y.extent)
9
}
0 commit comments