isArray

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is

Check if the passed value is a js Array

Params

  1. value*-Mixed

    The value to check

Return

  1. -Boolean

    true if it’s a Array, false if not

Example

import { isArray } from '@blackbyte/sugar/is'
if (isArray([]) {
  // do something
}

Todo

  • testsnormal