MCPcopy
hub / github.com/ThatGuySam/doesitarm / findGamesHeaderRowIndex

Function findGamesHeaderRowIndex

helpers/build-game-list.js:125–127  ·  view source on GitHub ↗
( rows )

Source from the content-addressed store, hash-verified

123}
124
125function findGamesHeaderRowIndex ( rows ) {
126 return rows.findIndex( row => row[ 0 ] === 'Games' && row[ 1 ] === 'Playable' )
127}
128
129function mapCsvRowToRecord ( headers, row ) {
130 return headers.reduce( ( record, header, index ) => {

Callers 1

loadGamesSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected