Files
HRM-System/node_modules/es-toolkit/dist/compat/string/startsWith.mjs
2026-04-13 08:19:53 +08:00

12 lines
241 B
JavaScript

function startsWith(str, target, position) {
if (str == null || target == null) {
return false;
}
if (position == null) {
position = 0;
}
return str.startsWith(target, position);
}
export { startsWith };