react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
10 lines (9 loc) • 365 B
JavaScript
;
import { isRecord } from '../../utils';
export function hasNameAlias(configValue) {
return isRecord(configValue) && 'name' in configValue && typeof configValue.name === 'string';
}
export function isRuleBuilder(value) {
return typeof value === 'object' && value !== null && 'add' in value && 'build' in value;
}
//# sourceMappingURL=guards.js.map