Skip to content

Commit

Permalink
Add isEmpty to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Oct 6, 2023
1 parent 52031c6 commit e018cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export function cloneDeep (obj: Object): Object
export function getArrayHasIntersect (arr1: Array<any>, arr2: Array<any>): boolean
export function getArrayUniq (arr: Array<any>): Array<any>
export function isEmpty(val: any): boolean
export function isNil(val: any): boolean
export function isPlainObject(val: any): boolean
export function pick(obj: Object, keys: Array<string>): Object
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const cloneDeep = require('./src/cloneDeep')
const getArrayHasIntersect = require('./src/getArrayHasIntersect')
const getArrayUniq = require('./src/getArrayUniq')
const isEmpty = require('./src/isEmpty')
const isNil = require('./src/isNil')
const isPlainObject = require('./src/isPlainObject')
const pick = require('./src/pick')
Expand All @@ -15,6 +16,7 @@ module.exports = {
cloneDeep,
getArrayHasIntersect,
getArrayUniq,
isEmpty,
isNil,
isPlainObject,
pick,
Expand Down

0 comments on commit e018cc0

Please sign in to comment.