query
On this page

mkIf

lib.mkIf

Docs pulled from | This Revision | 31 minutes ago


Nixpkgs manual

Properties.

Inputs

condition

1. Function argument

content

2. Function argument

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

mkIf = condition: content: {
    _type = "if";
    inherit condition content;
  };