aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/utils/to-int.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/utils/to-int.js')
-rw-r--r--library/moment/src/lib/utils/to-int.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/library/moment/src/lib/utils/to-int.js b/library/moment/src/lib/utils/to-int.js
deleted file mode 100644
index fb489416f..000000000
--- a/library/moment/src/lib/utils/to-int.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import absFloor from './abs-floor';
-
-export default function toInt(argumentForCoercion) {
- var coercedNumber = +argumentForCoercion,
- value = 0;
-
- if (coercedNumber !== 0 && isFinite(coercedNumber)) {
- value = absFloor(coercedNumber);
- }
-
- return value;
-}