Skip to content

ua

isAlipay

js
isAlipay()

Check is the environment is Alipay App.

Since

0.14.0

Return

  • (boolean)

isAndroid

js
isAndroid()

Check if the os is Android.

Since

0.1.0

Return

  • (boolean)

isIOS

js
isIOS()

Check if the os is iOS.

Since

0.1.0

Return

  • (boolean)

isIPad

js
isIPad()

Check if the environment is iPad.

Since

0.1.0

Return

  • (boolean)

isIPhone

js
isIPhone()

Check if the environment is iPhone.

Since

0.1.0

Return

  • (boolean)

isLinux

js
isLinux()

Check if the os is Linux.

Since

0.1.0

Return

  • (boolean)

isMacOS

js
isMacOS()

Check if the os is macOS.

Since

0.1.0

Return

  • (boolean)

isMobile

js
isMobile()

Check if the os is a mobile system.

Since

0.1.0

Return

  • (boolean)

isTablet

js
isTablet()

Check if the os is a tablet system.

Since

0.1.0

Return

  • (boolean)

isWechat

js
isWechat()

Check if the environment is Wechat.

Since

0.1.0

Return

  • (boolean)

isWindows

js
isWindows()

Check if the os is Windows.

Since

0.1.0

Return

  • (boolean)

Released under the MIT License.