videoio_registry_hasBackend
import { videoio_registry_hasBackend } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSapi
FUNCTIONvideoio_registry_hasBackend
RETURN TYPEboolean
Returns true if backend is available
videoio_registry_hasBackend(api: number): boolean;apiapi argument (number).
Returns
The boolean result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.