Repository URL to install this package:
Version:
1.0.1-0 ▾
|
// @flow
import { Target } from '../types'
export default function isStyledComponent(target: Target) /* : %checks */ {
return (
// $FlowFixMe TODO: flow for styledComponentId
typeof target === 'function' && typeof target.styledComponentId === 'string'
)
}