query
On this page

mkIf

lib.modules.mkIf

Docs pulled from | This Revision | 16 minutes ago


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;
  };