SASSの別の関数またはミックスインを参照して関数またはミックスインを渡し、参照されている関数またはミックスインを呼び出す方法はありますか?
例えば:
@function foo($value) {
@return $value;
}
@mixin bob($fn: null) {
a {
b: $fn(c); // is there a way to call a referenced function here?
}
}
@include bob(foo); // is there any way I can pass the function "foo" here?