isNotEmptyArray,
isNotEmptyString,
isObject,
- isUndefined,
isValidTime,
max,
min,
expect(isNotEmptyString(new WeakSet())).toBe(false)
})
- await it('Verify isUndefined()', () => {
- expect(isUndefined(undefined)).toBe(true)
- expect(isUndefined(null)).toBe(false)
- expect(isUndefined('')).toBe(false)
- expect(isUndefined(0)).toBe(false)
- expect(isUndefined({})).toBe(false)
- expect(isUndefined([])).toBe(false)
- expect(isUndefined(new Map())).toBe(false)
- expect(isUndefined(new Set())).toBe(false)
- expect(isUndefined(new WeakMap())).toBe(false)
- expect(isUndefined(new WeakSet())).toBe(false)
- })
-
await it('Verify isEmptyArray()', () => {
expect(isEmptyArray([])).toBe(true)
expect(isEmptyArray([1, 2])).toBe(false)