@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
14 lines (12 loc) • 408 B
JavaScript
import sha1 from 'crypto-js/sha1';
// src/functions/StepLabelUtility.ts
function getStepSha1(step) {
let sha1String = sha1(step.toString().toLocaleLowerCase());
return sha1String.toString();
}
function checkIfStepsIsEqual(step1, step2) {
return step1 === step2;
}
export { checkIfStepsIsEqual, getStepSha1 };
//# sourceMappingURL=StepLabelUtility.mjs.map
//# sourceMappingURL=StepLabelUtility.mjs.map