[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["# Value | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [remoteConfig](/docs/reference/js/v8/firebase.remoteconfig).\n- Value\n====================================================================================================================\n\nWraps a value with metadata and type-safe getters.\n\nIndex\n-----\n\n### Methods\n\n- [asBoolean](/docs/reference/js/v8/firebase.remoteconfig.Value#asboolean)\n- [asNumber](/docs/reference/js/v8/firebase.remoteconfig.Value#asnumber)\n- [asString](/docs/reference/js/v8/firebase.remoteconfig.Value#asstring)\n- [getSource](/docs/reference/js/v8/firebase.remoteconfig.Value#getsource)\n\nMethods\n-------\n\n### asBoolean\n\n- asBoolean ( ) : boolean\n- Gets the value as a boolean.\n\n The following values (case insensitive) are interpreted as true:\n \"1\", \"true\", \"t\", \"yes\", \"y\", \"on\". Other values are interpreted as false.\n\n #### Returns boolean\n\n### asNumber\n\n- asNumber ( ) : number\n- Gets the value as a number. Comparable to calling `Number(value) || 0`.\n\n #### Returns number\n\n### asString\n\n- asString ( ) : string\n- Gets the value as a string.\n\n #### Returns string\n\n### getSource\n\n- getSource ( ) : [ValueSource](/docs/reference/js/v8/firebase.remoteconfig#valuesource)\n- Gets the [ValueSource](/docs/reference/js/v8/firebase.remoteconfig#valuesource) for the given key.\n\n #### Returns [ValueSource](/docs/reference/js/v8/firebase.remoteconfig#valuesource)"]]
Wraps a value with metadata and type-safe getters.