OSRS Plugin API
    Preparing search index...

    Function isMobile

    • Gets whether the current client is a mobile device.

      Returns boolean

      boolean that is true if the client is an ios/android device.

      if(osrs.isMobile()) then
      osrs.print("This platform is a mobile.")
      else
      osrs.print("This platform is not a mobile.")
      end