import { always , pipe } from '@typed/functions' ; import { equals , ifElse } from '@typed/logic' ; import { keys } from '../keys' ; import { length } from '../length' ; name example export const isEmpty = ifElse ( x => x === null || x === void 0 , always ( false ) , pipe ( keys , length , equals ( 0 ) ) ) ;