query
On this page

hasContext

builtins.hasContext

Primop
Docs pulled from | This Revision | 26 minutes ago

Takes 1 arguments

s


Return true if string s has a non-empty context. The context can be obtained with getContext.

This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.

Noogle detected

Aliases

Implementation

This function is implemented in c++ and is part of the native nix runtime.