valid.js (364B)
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}