adobe / json-formula

Query language for JSON documents
http://opensource.adobe.com/json-formula/
Apache License 2.0
19 stars 8 forks source link

Incorrect description in "rept" #167

Closed Eswcvlad closed 4 months ago

Eswcvlad commented 4 months ago

rept(text, count) ⇒ string

Returns string - Text generated from the repeated text. if count is zero, returns an empty string. If count is less than 0, returns null.

Function no longer returns null, as with a negative number of elements it now throws an error.