Skip to content

Commit 258388a

Browse files
committed
type: Add .type.isEnumeratedTable
1 parent 18ac355 commit 258388a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/type.q

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
:1b~.Q.qp $[.type.isSymbol x;get;::] x;
7171
};
7272

73+
/ @returns (Boolean) If one or more columns in the table are enumerated
74+
.type.isEnumeratedTable:{
75+
:any .type.isEnumeration each .Q.V x;
76+
};
77+
7378
.type.isFunction:{
7479
:type[x] in `short$100 + til 13;
7580
};

0 commit comments

Comments
 (0)