useObjectIsEmpty
Introduction
Judge whether the target object is empty
Basic Usage
ts
import { useObjectIsEmpty } from '@flypeng/tool/browser';
const isEmpty = useObjectIsEmpty({});
import { useObjectIsEmpty } from '@flypeng/tool/browser';
const isEmpty = useObjectIsEmpty({});
Type Declaration
ts
/**
* 判断对象是否为空对象
* @param target
* @returns
*/
declare function useObjectIsEmpty(target: Object): boolean;
/**
* 判断对象是否为空对象
* @param target
* @returns
*/
declare function useObjectIsEmpty(target: Object): boolean;