import { Client } from 'cassandra-driver' ; return export function isVersion3 ( client ) { return getVersion ( client ) . startsWith ( '3.' ) ; } export function getVersion ( client ) { return client . controlConnection . host . cassandraVersion ; }