UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

8 lines (6 loc) 203 B
'use strict'; import type { SharedValue } from './commonTypes'; export function isSharedValue<T>(value: any): value is SharedValue<T> { 'worklet'; return value?._isReanimatedSharedValue === true; }