phaser - v4.0.0-rc.4
    Preparing search index...
    • Finds the key within the top level of the source object, or returns defaultValue

      Parameters

      • source: object

        The object to search

      • key: string

        The key for the property on source. Must exist at the top level of the source object (no periods)

      • OptionaldefaultValue: any

        The default value to use if the key does not exist.

      Returns any