Function getInputToPODValueConverter

  • Get a function that converts an input value to a POD value. If no conversion is possible, the function returns undefined.

    Type Parameters

    Parameters

    • inputType: T

      The input type to convert.

    • podValueType: "string" | "int" | "cryptographic" | "eddsa_pubkey"

      The type of POD value to convert to.

    Returns ((value) => PODValue) | undefined

    A function that converts an input value to a POD value, or undefined if no conversion is possible.

Generated using TypeDoc