array.ts

/**
 * Determine whether the argument is an array.
 */
function isArray(item: any): item is Array<any> {
  return item instanceof Object && item.constructor === Array;
}

export { isArray };
Revisions
DateHash
2024-04-13
2024-04-01
2024-03-31
2024-03-31
2024-03-31
Navigation
Nextstring.ts
Uputils