UNPKG

integreat-adapter-form

Version:

application/x-www-form-urlencoded adapter for Integreat

5 lines 370 B
const OK_STATUSES = ['ok', 'noaction', 'queued']; export const isObject = (value) => Object.prototype.toString.call(value) === '[object Object]'; export const isDate = (value) => Object.prototype.toString.call(value) === '[object Date]'; export const isErrorStatus = (status) => typeof status === 'string' && !OK_STATUSES.includes(status); //# sourceMappingURL=is.js.map