diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T00·49+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T00·49+0200 |
commit | 05d02f798f65bf18e8ca71f3d23bfdf9df63fb7c (patch) | |
tree | 8b95f70bd39c526cb03a8c5bd43c900378f203e9 /tests/user-envs.nix | |
parent | 6da92d96aec29ab09cf909ac6a270bc2753cd34a (diff) |
Add a typeOf primop
We already have some primops for determining the type of a value, such as isString, but they're incomplete: for instance, there is no isPath. Rather than adding more isBla functions, the generic typeOf function returns a string representing the type of the argument (e.g. "int").
Diffstat (limited to 'tests/user-envs.nix')
0 files changed, 0 insertions, 0 deletions