Bondtype
An undirected stable-id connection between two gems in a magnetic block.
Import it
import type { Bond } from "@johnmorrisdotca/houseki/magnetic-blocks";
Definition
interface Bond {
readonly a: number;
readonly b: number;
}
Members
| Name | Type | Description |
|---|---|---|
a | number | |
b | number |
Examples
import type { Bond } from "@johnmorrisdotca/houseki/magnetic-blocks";
const value: Bond = {a:1,b:2};
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'a', 'b' ]What it prints (run when this page was built)