Buy me a coffee
TypeScript
›
配列
›
flat
←
findLastIndex
flat
配列
flatMap
→
ネストされた配列を指定した深さまで平坦化します。
構文
array.flat(depth?): T[]