query
On this page

mkDouble

lib.gvariant.mkDouble

Docs pulled from | This Revision | about 1 hour ago


Returns the GVariant double from the given Nix float value.

Inputs

v

1. Function argument

Type

mkDouble :: Float -> gvariant

Noogle detected

Implementation

The following is the current implementation of this function.

mkDouble =
    v:
    mkPrimitive type.double v
    // {
      __toString = self: toString self.value;
    };