You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How should results should be handled that return a custom-indent that might be a reference to another function?
First of how to properly type and return a dashed-function.
@function --x1() returns <number> {
result:2;
}
/* Is <custom-ident> or <dashed-function> the right data type? */@function --x2() returns <custom-ident> {
result:ident("x1");
}
/* What would I need to do to return a reference to a function without ident? */@function --x3() returns <dashed-function> {
result:--x1;
}
@function --x4() returns <dashed-function> {
result:var(--x1);
}
And then how to use it
.x {
/* Will this be possible? */--y:--x2()();
/* Or do I need to do this? */--y:--x2();
--z:--y();
}