Skip to content

.deps.check

Liatir.deps.check() checks whether one command-line binary is available in PATH.

Signature

Example

DepCheckResult

FieldTypeDescription
availableboolean / booltrue if the binary is found in PATH.
binarystring / strThe name of the binary that was checked.
pathstring | null / str | NoneFull path to the binary, or null.
versionstring | null / str | NoneDetected version string, or null.

IMPORTANT

DepCheckResult fields are always camelCase in both Node and Python, because they come from the JSON response of the Liatir bridge.