import { objectHelper } from "https://deno.land/x/m_utils@v1.0.5/mod.ts";
const { isEmpty } = objectHelper;
判断值是否为空
Examples
Example 1
Example 1
objectHelper.isEmpty('') // true
objectHelper.isEmpty(null) // true
objectHelper.isEmpty(undefined) // true
objectHelper.isEmpty({}) // false