fs.isF(f)
f
if it is a function, null
otherwisefs.isA(a)
a
if it is an array, null
otherwisefs.isS(s)
s
if it is a string, null
otherwisefs.isO(o)
o
if it is an object, null
otherwisefs.contains(a, x)
x
if it is in the array a
, otherwise returns -1
fs.areFunctions(api, fnNames)
api
: API object to checkfnNames
: array of function names expectedtrue
if functions defined on api
exactly matches fnNames
listfs.areFunctionsNonStrict(api, fnNames)
api
: API object to checkfnNames
: array of function names expectedtrue
if functions defined on api
include all fnNames
list(to be continued)