Add the "Type Assertion" node catalog category (#4452)

This commit is contained in:
Keavon Chambers
2026-08-17 23:39:02 -07:00
committed by GitHub
parent 656daa26bc
commit 2df0bd25c3
3 changed files with 5 additions and 5 deletions

View File

@@ -1284,7 +1284,7 @@ async fn dimensions(_: impl Ctx, content: Item<Vector>) -> Item<DVec2> {
}
/// Type-asserts a value to be vector data.
#[node_macro::node(category("Vector"), name("As Vector"), path(core_types::vector))]
#[node_macro::node(category("Type Assertion"), path(core_types::vector))]
fn as_vector(_: impl Ctx, value: Item<Vector>) -> Item<Vector> {
value
}