Documentation
    Preparing search index...
    • Compares strings in a case-sensitive ordinal way. The comparison is based on the values of the UTF-16 code units (not Unicode code points) they contain.

      Parameters

      • x: string | undefined
      • y: string | undefined

      Returns number