(cellOrValue)
| 972 | return objFreeze(indexes); |
| 973 | }); |
| 974 | var getCellOrValueType = (cellOrValue) => { |
| 975 | if (isNull(cellOrValue)) { |
| 976 | return NULL; |
| 977 | } |
| 978 | if (isArray(cellOrValue)) { |
| 979 | return ARRAY; |
| 980 | } |
| 981 | if (isObject(cellOrValue)) { |
| 982 | return OBJECT; |
| 983 | } |
| 984 | const type = getTypeOf(cellOrValue); |
| 985 | return isTypeStringOrBoolean(type) || type == NUMBER && isFiniteNumber(cellOrValue) ? type : void 0; |
| 986 | }; |
| 987 | var isCellOrValueOrUndefined = (cellOrValue) => isUndefined(cellOrValue) || !isUndefined(getCellOrValueType(cellOrValue)); |
| 988 | var isJsonType = (type) => type == OBJECT || type == ARRAY; |
| 989 | var encodeIfJson = (value) => isObject(value) || isArray(value) ? JSON_PREFIX + jsonString(value) : value; |
no test coverage detected
searching dependent graphs…