import { SKLayer } from '../../types' ; export default ( layer ) : string => { if ( layer . attributedString && layer . attributedString . string ) { return layer . attributedString . string ; } return '' ; } ;