RosettaCodeData/Task/Even-or-odd/Jq/even-or-odd-2.jq
2017-09-25 22:28:19 +02:00

1 line
60 B
Text

def is_odd: type == "number" and floor == 0 and . % 2 == 1;