Function doubleValue [src]
Prototype
pub fn doubleValue(self: *Builder, ty: Type, value: f64) Allocator.Error!Value
Parameters
self: *Builder
ty: Type
value: f64
Source
pub fn doubleValue(self: *Builder, ty: Type, value: f64) Allocator.Error!Value {
return (try self.doubleConst(ty, value)).toValue();
}