MCPcopy
hub / github.com/InkTimeRecord/TTime / isNull

Function isNull

src/common/utils/validate.ts:7–9  ·  view source on GitHub ↗
(date: string | object | unknown)

Source from the content-addressed store, hash-verified

5 * @returns {boolean}
6 */
7export function isNull(date: string | object | unknown): boolean {
8 return date === undefined || date === null || date === ''
9}
10
11/**
12 * 检测数据是否不为空

Callers 15

setTranslateServiceMapFunction · 0.90
getTranslateServiceMapFunction · 0.90
buildTranslateServiceFunction · 0.90
setOcrServiceMapFunction · 0.90
getOcrServiceMapFunction · 0.90
buildOcrServiceFunction · 0.90
getTranslateRecordListFunction · 0.90
getTranslateRecordSizeFunction · 0.90
textWriteShearPlateFunction · 0.90
commonErrorFunction · 0.90
onmessageMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected