8 lines
229 B
JavaScript
8 lines
229 B
JavaScript
![]() |
import { env } from '../env';
|
||
|
export function resolveInput(arg) {
|
||
|
if (!env.isNodejs() && typeof arg === 'string') {
|
||
|
return document.getElementById(arg);
|
||
|
}
|
||
|
return arg;
|
||
|
}
|
||
|
//# sourceMappingURL=resolveInput.js.map
|