Variable PrimitiveKindConst
PrimitiveKind: {
Number: { type: "Number" };
Integer: { type: "Integer" };
PositiveInteger: { type: "PositiveInteger" };
String: { type: "String" };
Iterable: <T extends SerializedPrimitiveKind>(
value: T,
) => { type: "Iterable"; value: T };
Graph: { type: "Graph" };
GraphEdge: { type: "GraphEdge" };
GraphNode: { type: "GraphNode" };
Tuple: <T extends SerializedPrimitiveKind>(
value: T[],
) => { type: "Tuple"; value: T[] };
Boolean: { type: "Boolean" };
Undefined: { type: "Undefined" };
Any: { type: "Any" };
} = ...
Type Declaration
ReadonlyNumber: { type: "Number" }
ReadonlyInteger: { type: "Integer" }
ReadonlyPositiveInteger: { type: "PositiveInteger" }
ReadonlyString: { type: "String" }
ReadonlyIterable: <T extends SerializedPrimitiveKind>(value: T) => { type: "Iterable"; value: T }
ReadonlyGraph: { type: "Graph" }
ReadonlyGraphEdge: { type: "GraphEdge" }
ReadonlyGraphNode: { type: "GraphNode" }
ReadonlyTuple: <T extends SerializedPrimitiveKind>(value: T[]) => { type: "Tuple"; value: T[] }
ReadonlyBoolean: { type: "Boolean" }
ReadonlyUndefined: { type: "Undefined" }
ReadonlyAny: { type: "Any" }