public static function isVersion($version){
        $currentVersion = Craft::$app->getVersion();
        $version = explode('.', $version);
        $currentVersion = explode('.', $currentVersion);
        $isVersion = true;
        foreach($version as $key => $value){
            if ((int)$currentVersion[$key] < $version[$key]){ 
                $isVersion = false;
            }
        }
        return $isVersion;
    }
public static function isVersion($version){
        $currentVersion = Craft::$app->getVersion();
        $version = explode('.', $version);
        $currentVersion = explode('.', $currentVersion);
        $isVersion = true;
        foreach($version as $key => $value){
            if ((int)$currentVersion[$key] < $version[$key]){ 
                $isVersion = false;
            }
        }
        return $isVersion;
    }
public static function isVersion ( $ version ) { $ currentVersion = Craft :: $ app -> getVersion ( ) ; $ version = explode ( '.' , $ version ) ; $ currentVersion = explode ( '.' , $ currentVersion ) ; $ isVersion = true ; foreach ( $ version as $ key => $ value ) { if ( ( int ) $ currentVersion [ $ key ] < $ version [ $ key ] ) { $ isVersion = false ; } } return $ isVersion ; }
check to see if current version is greater than or equal to a version
check to see if current version is greater than or equal to a version