getCommandsAsync  
  fun getCommandsAsync(filterInternal: Boolean = definedExternally): PromiseLike<ReadonlyArray<JsString>>(source)
Retrieve the list of all available commands. Commands starting with an underscore are treated as internal commands.
Parameters
filterInternal 
Set true to not see internal commands (starting with an underscore)