UNPKG

@yookue/ts-lang-utils

Version:

Common lang utilities for typescript

6 lines 233 B
import { isNotEmpty } from "./isNotEmpty"; export function anyNotEmpty(texts) { return !!texts && (texts === null || texts === void 0 ? void 0 : texts.length) > 0 && texts.some(function (item) { return isNotEmpty(item); }); }