hunk.code_window:     'This object is disposed. Did you call its `dispose` method on accident?'
     )
   }
   export function isFalsy(value: any): value is Falsy {
     return value == null || value === false
   }
   export function isAsyncTo(to: any) {
     return is.fun(to) || (is.arr(to) && is.obj(to[0]))
   }
hunk.labels: keep keep keep keep replace replace replace replace keep keep keep
hunk.file_path: packages/core/src/helpers.ts
hunk.type: replace
file: import { is, isAnimatedString } from 'shared'
  import { AnimatedType } from './types'
  import { AnimatedArray } from './AnimatedArray'
  import { AnimatedString } from './AnimatedString'
  import { AnimatedValue } from './AnimatedValue'
  import { getAnimated } from './Animated'
  
  /** Return the `Animated` node constructor for a given value */
  export function getAnimatedType(value: any): AnimatedType {
    const parentNode = getAnimated(value)
    return parentNode
      ? (parentNode.constructor as any)
      : is.arr(value)
      ? AnimatedArray
      : isAnimatedString(value)
      ? AnimatedString
      : AnimatedValue
  }
  