function getLengthFromPart(part) {
  if (typeof part === "number") {
    return part;
  }
  if (typeof part === "string") {
    return 0;
  }
  return part.length;
}
export {
  getLengthFromPart
};
//# sourceMappingURL=codeInput.utils.js.map
