export const isObject = (value: any) : value is Type => { if (Array.isArray(value)) { return false } else if (typeof value === 'object' && value === null) { return false } return typeof value === 'object' } export const isDict = (value: any) : value is Type => { return value !== null && typeof value === 'object' && Object.getPrototypeOf(value) === Object.prototype } /** / * transition={{ duration: 0.3, ease: [0.25, 1, 0.5, 1] }} * / transition={{ duration: 0.35, ease: [0.16, 1, 0.5, 1] }} **/