jsketcher/web/app/cad/actions/actionRef.jsx
2018-01-17 00:06:31 -08:00

8 lines
No EOL
129 B
JavaScript

export function toIdAndOverrides(ref) {
if (Array.isArray(ref)) {
return ref;
} else {
return [ref, undefined]
}
}