query
On this page

mkIf

lib.mkIf

Docs pulled from | This Revision | about 2 hours 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;
    };