UNPKG

lamed_table

Version:
15 lines (10 loc) 436 B
# Function colsNumber() >**colsNumber**(table, colNameOrNumber, throwError = true) - Returns the col number from the name - See [Functions](../functions.md) ## Parameters | Parameter |Type |Default |Description | | ---- | ---- | ---- | ---- | **table** |object | |The table object | **colNameOrNumber** |string / number | |The column name | **throwError** |bool |true |If true and colname is not found throw error else return -1 |