Skip to content
FutureBlitz

    Install

    Import std.collections.sorted

    SortedMap

    std.collections.sorted

    extend

    Extend SortedMap<K, V> Implements Equatable

    Compares SortedMaps with == and !=, where their values can be compared.

    std/collections/sorted.fb, line 525

    • Operator ==(a: SortedMap<K, V>, b: SortedMap<K, V>): Bool operator #

      Whether the two have the same keys, each with an equal value.

    extend

    Extend SortedMap<K, V> Implements Printable

    Shows a SortedMap in a string, as its ToString writes it.

    std/collections/sorted.fb, line 542

    • Public Method ToString(): String method #

      Its entries, in order, as "{a: 1, b: 2}".

    Report an issue with this page or with FutureBlitz on GitHub.