@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
15 lines (14 loc) • 414 B
JavaScript
;
import { JsConnectionPointType } from "../utils/io/connections/Js";
import { BaseLogicOperationJsNode } from "./_BaseLogicOperation";
export class AndJsNode extends BaseLogicOperationJsNode {
static type() {
return "and";
}
_expectedOutputName() {
return "and";
}
_functionName(firstType) {
return firstType == JsConnectionPointType.BOOLEAN ? "andBooleans" : "andArrays";
}
}