...
Example Usage | Arguments | Return Values |
---|---|---|
fs.contains(a , x ); |
| the index of false if -1 if |
areFunctions
Checks if given strings are names of functions on an API and whether the API has functions that are not listed. This is used for unit testing.
Example Usage | Arguments | Return Values |
---|---|---|
fs.areFunctions(api , fnNames ); |
| true if
false if
|
areFunctionsNonStrict
Checks if given strings are names of functions on an API. This function is similar to areFunctions, but doesn't care about unlisted functions.
Example Usage | Arguments | Return Values | |||
---|---|---|---|---|---|
fs.areFunctionsNonStrict(api, fnNames); |
| true if
false if
| |
windowSize
Returns inner dimensions of the browser window minus given values.
...