- create<Data, T>(type: T): { type: T; is: any }
-
Returns { type: T; is: any }
-
type: T
-
is:function
- is(obj?: StateObject<any, <internal>.StateObject.Type<any>>): obj is { data: Data; description?: string; id: UUID; label: string; type: T }
-
Returns obj is { data: Data; description?: string; id: UUID; label: string; type: T }