On this page

compareStrings

The compareStrings function exported by @graphql-tools/utils.

compareStrings<A, B>(a, b): -1 | 0 | 1

Defined in: packages/utils/src/helpers.ts:94

Type Parameters

A

A

B

B

Parameters

a

A

b

B

Returns

-1 | 0 | 1