query
On this page

mkObjectpath

lib.gvariant.mkObjectpath

Docs pulled from | This Revision | about 1 hour ago


Returns the GVariant object path from the given Nix string value.

Inputs

v

1. Function argument

Type

mkObjectpath :: String -> gvariant

Noogle detected

Implementation

The following is the current implementation of this function.

mkObjectpath =
    v:
    mkPrimitive type.string v
    // {
      __toString = self: "objectpath '${escape [ "'" ] self.value}'";
    };