Options
All
  • Public
  • Public/Protected
  • All
Menu

@iov/bns-governance Documentation

Index

Type aliases

CommitteeId

CommitteeId: number & As<"committee">

ProposalOptions

Functions

groupByCallback

  • groupByCallback<T, K>(values: keyof T[], callback: function): object[]
  • Type parameters

    • T

    • K

    Parameters

    • values: keyof T[]
    • callback: function
        • (value: T): K
        • Parameters

          • value: T

          Returns K

    Returns object[]

maxWithComparatorCallback

  • maxWithComparatorCallback<T>(values: keyof T[], callback: function): T
  • Type parameters

    • T

    Parameters

    • values: keyof T[]
    • callback: function
        • (value1: T, value2: T): number
        • Parameters

          • value1: T
          • value2: T

          Returns number

    Returns T

Generated using TypeDoc