Function pullLatest

  • Similar to pull, but filters plans to only include the highest version of each plan. Plan versions are sorted numerically if they are decimal integers, or lexically in the en locale otherwise.

    So, for example, the plan version 20test will be considered "lower" than 9test, because the non-numeric string causes it to be lexically sorted. But the plan version 20 sill be considered "higher" than the plan version 9, because both are strictly numeric.

    Convenience wrapper for Tier.pullLatest

    Note Plan versions are inherently arbitrary, and as such, they really should not be sorted or given any special priority by being "latest".

    This method will be removed in version 6 of this SDK.

    Deprecated

    Parameters

    Returns Promise<Model>

Generated using TypeDoc