export const hasEmbed = value => value . inlines . some ( inline => inline . type === 'embed' ) ; export const appendEmbed = ( change , embed ? ) : any => change . insertInline ( { type : 'embed' , isVoid : true , data : { embed } } ) ;