//#region node_modules/@powerhousedao/document-engineering/dist/src/scalars/lib/is-empty.js
function isEmpty(value) {
	if (value === null || value === void 0 || typeof value === "number" && isNaN(value)) return true;
	if (typeof value === "boolean" || typeof value === "number") return false;
	if (value instanceof RegExp || value instanceof Date) return false;
	if (typeof value === "string" || Array.isArray(value)) return value.length === 0;
	if (value instanceof Map || value instanceof Set) return value.size === 0;
	if (typeof value === "object") return Object.keys(value).length === 0;
	return false;
}
//#endregion
export { isEmpty as t };

//# sourceMappingURL=is-empty-CanedJ6J.js.map