mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Add the "Type Assertion" node catalog category (#4452)
This commit is contained in:
@@ -189,7 +189,7 @@ fn string_value(_: impl Ctx, _primary: (), string: Item<TextArea>) -> Item<Strin
|
||||
}
|
||||
|
||||
/// Type-asserts a value to be a string.
|
||||
#[node_macro::node(category("Debug"))]
|
||||
#[node_macro::node(category("Type Assertion"))]
|
||||
fn as_string(_: impl Ctx, value: Item<String>) -> Item<String> {
|
||||
value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user