Phaser API Documentation

  Version: 
checkAPI(api)

Description:

Checks to see if a given Facebook Instant Games API is available or not.

Parameters:

name type description
api string

The API to check for, i.e. player.getID.

Returns:
Description:

true if the API is supported, otherwise false.

Type:
  • boolean
Since: 3.13.0