"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isValidJSValue=isValidJSValue;var_coerceValue=require("./coerceValue");/* istanbul ignore file *//** * Deprecated. Use coerceInputValue() directly for richer information. * * This function will be removed in v15 */functionisValidJSValue(value,type){varerrors=(0,_coerceValue.coerceValue)(value,type).errors;returnerrors?errors.map(function(error){returnerror.message;}):[];}