import { __name } from './chunk-6AXVLTU5.js';
import { isString } from '@stryke/type-checks/is-string';
import MagicString from 'magic-string';

function getString(source) {
  if (isString(source)) {
    return source;
  }
  return source.toString();
}
__name(getString, "getString");
function getMagicString(source) {
  if (isString(source)) {
    return new MagicString(source);
  }
  return source;
}
__name(getMagicString, "getMagicString");

export { getMagicString, getString };
//# sourceMappingURL=chunk-MJMBYCPB.js.map
//# sourceMappingURL=chunk-MJMBYCPB.js.map