Function getConverterFunction

  • Gets the converter function for a given number type (i.e. the equivalent of BigIntify, Numberify, or Stringify).

    Type Parameters

    Parameters

    • val: T

      A value of the expected number type.

    Returns ((item: NumberType) => T)