PisModule
Bun

property

inspector.Debugger.ScriptParsedEventDataType.isModule

isModule?: boolean

True, if this script is ES6 module.