query
On this page

mkInt16

lib.gvariant.mkInt16

Docs pulled from | This Revision | 3 days ago


Nixpkgs manual

Returns the GVariant int16 from the given Nix int value.

Type

mkInt16 :: 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
  }