mwg API
    Preparing search index...

    Function weightedKey

    • a key from weights, drawn in proportion to the value it maps to, or null if none has any; draws from source when given

      Type Parameters

      • K

      Parameters

      Returns K | null