TypeScriptType GuardsArray.isArray
in operator

Array.isArrayType Guards

Number.isFinite

Determines whether the passed value is an Array.

문법

Array.isArray(value): boolean