React native nitro sqlite vecFunctions
API Reference / react-native-nitro-sqlite-vec / isVecAvailable
Function: isVecAvailable()
TypeScriptSource files: TypeScript
isVecAvailable(
db):boolean
Check whether the version query succeeds on this connection.
Parameters
db
Open NitroSQLite connection. The check runs synchronously.
Returns
boolean
false if the version query throws for any reason, including a closed connection.