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 "right" #166

Closed Eswcvlad closed 4 months ago

Eswcvlad commented 4 months ago

right(subject, [elements]) ⇒ string | array | null

Returns string | array | null - The extracted substring or array subset. Returns null if the number of elements is less than 0.

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