query
On this page

mkJust

lib.gvariant.mkJust

Docs pulled from | This Revision | 13 minutes ago


Returns the GVariant just from the given Nix value.

Inputs

elem

1. Function argument

Type

mkJust :: Any -> gvariant

Noogle detected

Implementation

The following is the current implementation of this function.

mkJust = elem: let gvarElem = mkValue elem; in mkMaybe gvarElem.type gvarElem;