Dynamic map viewer psx
This commit is contained in:
parent
2b1f1a0191
commit
399017ab45
5 changed files with 201 additions and 63 deletions
4
check_type.cjs
Normal file
4
check_type.cjs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
const fs = require('fs');
|
||||
const data = JSON.parse(fs.readFileSync('psx-map-exporter/.output-render/L0/auto/L0.json', 'utf8'));
|
||||
console.log('Type of data:', Array.isArray(data) ? 'Array' : typeof data);
|
||||
if (!Array.isArray(data)) console.log('Keys:', Object.keys(data));
|
||||
Loading…
Add table
Add a link
Reference in a new issue