Gets the value as a boolean.The following values (case insensitive) are interpreted as true: "1", "true", "t", "yes", "y", "on". Other values are interpreted as false.
[[["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 2024-04-16 UTC."],[],[],null,["# Value interface\n\nWraps a parameter value with metadata and type-safe getters.\n\nType-safe getters insulate application logic from remote changes to parameter names and types.\n\n**Signature:** \n\n export interface Value \n\nMethods\n-------\n\n| Method | Description |\n|-----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [asBoolean()](./firebase-admin.remote-config.value.md#valueasboolean) | Gets the value as a boolean.The following values (case insensitive) are interpreted as true: \"1\", \"true\", \"t\", \"yes\", \"y\", \"on\". Other values are interpreted as false. |\n| [asNumber()](./firebase-admin.remote-config.value.md#valueasnumber) | Gets the value as a number. Comparable to calling `Number(value) || 0`. |\n| [asString()](./firebase-admin.remote-config.value.md#valueasstring) | Gets the value as a string. |\n| [getSource()](./firebase-admin.remote-config.value.md#valuegetsource) | Gets the [ValueSource](./firebase-admin.remote-config.md#valuesource) for the given key. |\n\nValue.asBoolean()\n-----------------\n\nGets the value as a boolean.\n\nThe following values (case insensitive) are interpreted as true: \"1\", \"true\", \"t\", \"yes\", \"y\", \"on\". Other values are interpreted as false.\n\n**Signature:** \n\n asBoolean(): boolean;\n\n**Returns:**\n\nboolean\n\nValue.asNumber()\n----------------\n\nGets the value as a number. Comparable to calling `Number(value) || 0`.\n\n**Signature:** \n\n asNumber(): number;\n\n**Returns:**\n\nnumber\n\nValue.asString()\n----------------\n\nGets the value as a string.\n\n**Signature:** \n\n asString(): string;\n\n**Returns:**\n\nstring\n\nValue.getSource()\n-----------------\n\nGets the [ValueSource](./firebase-admin.remote-config.md#valuesource) for the given key.\n\n**Signature:** \n\n getSource(): ValueSource;\n\n**Returns:**\n\n[ValueSource](./firebase-admin.remote-config.md#valuesource)"]]