mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
Specify return type
This commit is contained in:
parent
b3b4d596a9
commit
0eb0171dfb
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
||||||
*
|
*
|
||||||
* @param {object} source - The object to retrieve the value from.
|
* @param {object} source - The object to retrieve the value from.
|
||||||
* @param {string} key - The key to look for in the `source` object.
|
* @param {string} key - The key to look for in the `source` object.
|
||||||
* @param {*} defaultValue - The default value to return if the `key` doesn't exist or if no `source` object is provided.
|
* @param {boolean} defaultValue - The default value to return if the `key` doesn't exist or if no `source` object is provided.
|
||||||
*
|
*
|
||||||
* @return {*} The retrieved value.
|
* @return {boolean} The retrieved value.
|
||||||
*/
|
*/
|
||||||
var GetBoolean = function (source, key, defaultValue)
|
var GetBoolean = function (source, key, defaultValue)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue