🏠FunctionsparseConstValueparseConstValue CallableparseConstValue(source: string | Source, options?: ParseOptions): ConstValueNodeSimilar to parseValue(), but raises a parse error if it encounters a variable. The return type will be a constant value.Parameterssource: string | Sourceoptionaloptions: ParseOptionsReturns ConstValueNode
Similar to parseValue(), but raises a parse error if it encounters a variable. The return type will be a constant value.