UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.

25 lines (23 loc) 586 B
function isString(val) { return typeof val === 'string'; } function isObject(val) { return typeof val === 'object'; } function isFunction(val) { return typeof val === 'function'; } function isNil(val) { return val === null || val === undefined; } function isEmpty(val) { if (Array.isArray(val)) { return val.length === 0; } return val === null || val === undefined || val === ''; } function isNumber(val) { return typeof val === 'number'; } export { isEmpty, isFunction, isNil, isNumber, isObject, isString }; //# sourceMappingURL=isType.js.map