import { Layer } from './types' ; const isBlock = ( data ) => { for ( var i = 1 ; i < data . length ; i ++ ) { if ( + data [ i ] . structure . x - data [ i - 1 ] . structure . width - data [ i - 1 ] . structure . x > 0 ) { return false ; } } return true ; } ; export default isBlock ;