export const isEmpty: (any) => boolean = v => ['', null, undefined].includes(v) export const isNotEmpty: (any) => boolean = v => !isEmpty(v) export const isObject: (any) => boolean = v => Object.prototype.toString.call(v) === '[object Object]' export const isDate: (any) => boolean = v => v instanceof Date && !isNaN(v.getTime()) export function isVinCode (v: string) : boolean { return v.length > 10 && v.length <= 17 }