# any requireMiniProgram()
Start from base library version 2.11.1. Please remaining backward compatible.
The plug-in introduces the current user Weixin Mini Program.Returns the interface exposed by the user Mini Program through the plug-in configurationexport.Reference Using Plug-ins - Export to Plug-ins
This interface exists only in plug-ins.
# parameter
The interface does not require parameters
# sample code
// in plugin
var mp = requireMiniProgram()
console.log(mp.whoami) // 'Wechat MiniProgram'