decord/beta/source/modules/messages/getHumanizedCallDuration.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

22 lines
564 B
TypeScript

// Module ID: 8243
// Function ID: 8244
// Name: getHumanizedCallDuration
// Dependencies: [2]
// Exports: default
// Module 8243 (getHumanizedCallDuration)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/messages/getHumanizedCallDuration.tsx");
export default function getHumanizedCallDuration(call) {
let duration = null;
if (null != call.call) {
duration = call.call.duration;
}
let humanizeResult = null;
if (null != duration) {
humanizeResult = duration.humanize();
}
return humanizeResult;
};