query
On this page

mkUint16

lib.gvariant.mkUint16

Docs pulled from | This Revision | 18 days ago


Nixpkgs manual

Returns the GVariant uint16 from the given Nix int value.

Type

mkUint16 :: Int -> GVariant

Noogle detected

Implementation

The following is the current implementation of this function.

v: {
    _type = "gvariant";
    type = t;
    value = v;
    __toString = self: "@${self.type} ${toString self.value}"; # https://docs.gtk.org/glib/gvariant-text.html
  }