Skip to content

Commit

Permalink
add repeat() in function section
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Apr 12, 2021
1 parent d84981b commit d091288
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ Signature Verification
* ``bool checkSig(Sig sig, PubKey pk)``
* ``bool checkMultiSig(Sig[] sigs, PubKey[] pks)``

repeat()
--------
* ``T[size] repeat(T e, int size)``
returns an array with all ``size`` elements set to ``e``, where T can be any type.

``bytes`` Operations
--------------------
* Convert to and from ``int``
Expand Down

0 comments on commit d091288

Please sign in to comment.