import { isString } from './nodash' ; import { Option } from '../types' ; export default function getOptionProperty ( option , key ) { if ( isString ( option ) ) { return undefined ; } return option [ key ] ; }