- Source:
Methods
(static) lookup(value, col_lookup, col_result, inverse) → {number}
Search the table for a given value and get the corresponding value
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | Reference value |
col_lookup |
number | Reference column |
col_result |
number | Result column |
inverse |
boolean | Whether to scan from the end of the table |
- Source:
Throws:
Error
Returns:
- Type
- number