sidekik

sidekik

  • Docs
  • Contributing

›Other

Data Strucutures

  • datastructures-overview

Tree

  • Tree
  • Node Abstract Class
  • Tree Abstract Class

Other

  • Utils

Utils

Overview

The utils package contains all the utilities used by different packages in sidekik. But do not fall under their own logic.

Installation

yarn add @sidekik/utils

Exports

Types

Optional<T>

A Helper Type which shows that type is T or undefined.

Usage

import { Optional } from "@sidekik/utils";

let x: Optional<number>;

// This shows that `x` can either be a `number` or `undefined`

x = 5; // Will allow
x = undefined; // Will allow

x = "Hello"; // TypeScript Compiler will throw error.
← Tree Abstract Class
  • Overview
  • Installation
  • Exports
    • Types
Docs
Contributing
Community
GitterDiscord
More
GitHubStar
Sidekik
This project is licensed under the MIT License.