lib.types: use isType for optionType

Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
cinereal 2026-03-14 14:46:59 -07:00
commit fe13778496
No known key found for this signature in database

View file

@ -1185,7 +1185,7 @@ rec {
name = "optionType";
description = "optionType";
descriptionClass = "noun";
check = value: value._type or null == "option-type";
check = isType "option-type";
merge =
loc: defs:
if length defs == 1 then