Expose the secondary input for Logical And and Or nodes (#3711)

This commit is contained in:
Vishnu Tejas
2026-02-03 19:49:23 +05:30
committed by GitHub
parent f36d455d03
commit 7e436f48f9

View File

@@ -705,6 +705,7 @@ fn logical_or(
/// One of the two boolean values, either of which may be true for the node to output true.
value: bool,
/// The other of the two boolean values, either of which may be true for the node to output true.
#[expose]
other_value: bool,
) -> bool {
value || other_value
@@ -717,6 +718,7 @@ fn logical_and(
/// One of the two boolean values, both of which must be true for the node to output true.
value: bool,
/// The other of the two boolean values, both of which must be true for the node to output true.
#[expose]
other_value: bool,
) -> bool {
value && other_value