import { geometryElements , geometryProperties } from '../const/definitions' ; export const checkGeometry = ( nodeName , attrName , browsers ) => { if ( geometryElements . includes ( nodeName ) && geometryProperties . includes ( attrName ) ) { if ( browsers . ie || browsers . firefox || browsers . and_ff || ( browsers . chrome && browsers . chrome < 81 ) || ( browsers . and_chr && browsers . and_chr < 81 ) || ( browsers . edge && browsers . edge < 81 ) || ( browsers . android && browsers . android < 81 ) ) { return false ; } return true ; } return false ; } ;