Function doubleValue [src]

Prototype

pub fn doubleValue(self: *Builder, ty: Type, value: f64) Allocator.Error!Value

Parameters

self: *Builderty: Typevalue: f64

Source

pub fn doubleValue(self: *Builder, ty: Type, value: f64) Allocator.Error!Value { return (try self.doubleConst(ty, value)).toValue(); }