PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/src/lib/moment/valid.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 0650c1c61bcf5178355b704ddbe0bc3f MD5 | raw file
 1import { isValid as _isValid } from '../create/valid';
 2import extend from '../utils/extend';
 3import getParsingFlags from '../create/parsing-flags';
 4
 5export function isValid () {
 6    return _isValid(this);
 7}
 8
 9export function parsingFlags () {
10    return extend({}, getParsingFlags(this));
11}
12
13export function invalidAt () {
14    return getParsingFlags(this).overflow;
15}