mirror of https://github.com/Chocobozzz/PeerTube
8 lines
94 B
TypeScript
8 lines
94 B
TypeScript
|
function forceNumber (value: any) {
|
||
|
return parseInt(value + '')
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
forceNumber
|
||
|
}
|