Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsArraySizeLessThan"

Index

Functions

isArraySizeLessThan

  • isArraySizeLessThan(value: any[], target: number): boolean
  • Checks if array's length is less than the target number. If null or undefined is given then this function returns false.

    Parameters

    • value: any[]

      The value array being checked.

    • target: number

      The maximum size of the array

    Returns boolean

    True if array's length is less than the target number, false otherwise.

Generated using TypeDoc