mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
11 lines
244 B
TypeScript
11 lines
244 B
TypeScript
|
// Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_reduced.js
|
||
|
|
||
|
|
||
|
export default function _reduced(x) {
|
||
|
return x && x['@@transducer/reduced'] ? x :
|
||
|
{
|
||
|
'@@transducer/value': x,
|
||
|
'@@transducer/reduced': true
|
||
|
};
|
||
|
}
|