af636aae96
This is similar to the existing `isCmd` and `isDict` functions, which already support similar kind of checks. With the updated `isName` function, we'll be able to simplify many callsites from: `isName(someVariable) && someVariable.name === 'someName'` to: `isName(someVariable, 'someName')`. |
||
---|---|---|
.. | ||
annotation_layer_spec.js | ||
api_spec.js | ||
cff_parser_spec.js | ||
cmap_spec.js | ||
crypto_spec.js | ||
dom_utils_spec.js | ||
evaluator_spec.js | ||
function_spec.js | ||
jasmine-boot.js | ||
metadata_spec.js | ||
network_spec.js | ||
parser_spec.js | ||
primitives_spec.js | ||
stream_spec.js | ||
testreporter.js | ||
type1_parser_spec.js | ||
ui_utils_spec.js | ||
unicode_spec.js | ||
unit_test.html | ||
util_spec.js |