UNPKG

antd-mobile

Version:
12 lines (11 loc) 306 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isNodeWithContent = isNodeWithContent; /** * Check if the `node` is visible Node (not null, undefined, or false) */ function isNodeWithContent(node) { return node !== undefined && node !== null && node !== false; }