You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
538 B

import type { BinaryLeaf } from "../../concrete/BinaryLeaf";
import type { BranchContainer } from "../../concrete/BranchContainer";
import type { DataLeaf } from "../../concrete/DataLeaf";
import type { RootContainer } from "../../concrete/RootContainer";
import { Fetched } from "./Fetched";
export type PresentClass =
| RootContainer
| BranchContainer
| DataLeaf
| BinaryLeaf;
export class Present extends Fetched {
public get isAbsent(): false {
return false;
}
public get isPresent(): true {
return true;
}
}