MCPcopy
hub / github.com/jaredpalmer/formik / isEmptyArray

Function isEmptyArray

packages/formik/src/utils.ts:8–9  ·  view source on GitHub ↗
(value?: any)

Source from the content-addressed store, hash-verified

6
7/** @private is the value an empty array? */
8export const isEmptyArray = (value?: any) =>
9 Array.isArray(value) && value.length === 0;
10
11/** @private is the given object a Function? */
12export const isFunction = (obj: any): obj is Function =>

Callers 2

utils.test.tsxFile · 0.90
FieldArrayInnerClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…