Assign SIM Info to variable



I am using the folllowing plugin to get the Sim card information

its usage is as follows

  (info) => console.log('Sim info: ', info),
  (err) => console.log('Unable to get sim info: ', err)

I want to assign the (info) => to a variable in my ts file. the info is in jason format. Any help will be great