Function firmwareVersionSatisfies

  • Checks if a firmware version satisfies the given range. If no options are specified, a custom one will be used. Older firmware versions sometimes included invalid build metadata, which could cause the function to fail. To prevent this, the function removes any invalid build metadata before performing the version check.

    Parameters

    • version: string
    • range: string
    • options: RangeOptions = ...

    Returns boolean

Generated using TypeDoc