Function babyJubIsNegativeOne

  • Determines whether a given number (as decimal string) represents -1, either directly, or via a value of p-1 in a Baby Jubjub field.

    Parameters

    • value: string

      integer encoded in a string

    Returns boolean

Generated using TypeDoc