Functions in Hype xAPI
HypeXAPI

HypeXAPI.getDefault

1min

The getDefault() function returns the value of a specified default key. If no key is specified, all defaults are returned. To use the getDefault() function, simply specify the key of the default you wish to retrieve. For example, to retrieve the default value for key "foo", you would use the following code:

JS


If no key is specified, all defaults are returned. For example, to retrieve all defaults, you would use the following code:

JS




Updated 25 Mar 2024
Doc contributor
Did this page help you?