Installation
Quick Take
API — rCrop()
The main function rCrop()
is imported like this:
It’s a function which takes three input arguments:
Input argument | Type | Obligatory | Description |
---|---|---|---|
arrOfRanges Type: null or ranges — array of zero or more arraysObligatory: yes | |||
arrOfRanges | null or ranges — array of zero or more arrays | yes | Provide an array of ranges to invert. Ranges do not have to be sorted or merged. |
strLen Type: Natural number or zero Obligatory: yes | |||
strLen | Natural number or zero | yes | Algorithm needs to know the length of the reference string to calculate the inverted last slice’s ending index. |
Function will return ranges — a null
or array of one or more range arrays:
API — version
You can import version
: