diff options
Diffstat (limited to 'node_modules/moment/src/lib/utils/is-string.js')
-rw-r--r-- | node_modules/moment/src/lib/utils/is-string.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/moment/src/lib/utils/is-string.js b/node_modules/moment/src/lib/utils/is-string.js new file mode 100644 index 0000000..34b8dcc --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-string.js @@ -0,0 +1,3 @@ +export default function isString(input) { + return typeof input === 'string' || input instanceof String; +} |