Sha256: 34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
/** * Compares two identifiers, must be numeric strings or truthy/falsy values. * * Sorts in ascending order when passed to `Array.sort()`. */ export function compareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1; /** * The reverse of compareIdentifiers. * * Sorts in descending order when passed to `Array.sort()`. */ export function rcompareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-0.0.6 | node_modules/@types/semver/internals/identifiers.d.ts |
pcp-server-ruby-sdk-0.1.0 | node_modules/@types/semver/internals/identifiers.d.ts |