• Whether candidate is strictly newer than baseline.

    An empty baseline behaves as 0.0.0, so any real version counts as newer.

    Parameters

    • candidate: undefined | null | string

      The version under test.

    • baseline: undefined | null | string

      The version to compare against.

    Returns boolean

    true when candidate > baseline.