UNPKG

create-broadcast-app

Version:

Create a NextGen TV broadcast app with one command

26 lines (23 loc) 556 B
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ function isBultinErrorName(errorName: ?string) { switch (errorName) { case 'EvalError': case 'InternalError': case 'RangeError': case 'ReferenceError': case 'SyntaxError': case 'TypeError': case 'URIError': return true; default: return false; } } export { isBultinErrorName }; export default isBultinErrorName;