Menu
typend Logotypend
DocsAPIBlog
typend Logotypend
  • Docs
  • API
  • Blog
  • The Basics
    • Getting Started
    • Setting up development environment
    • Testing
  • Usage
    • Introduction
    • Validation
    • Evaluation
    • Reflection
    • Conversion
  • Patterns
    • Introduction
    • Any
    • CollectionIncluding
    • CollectionWithin
    • Object > Collection
    • Equals
    • InstanceOf
    • Integer
    • Interface
    • Array > List
    • Maybe
    • never
    • OneOf
    • Optional
    • Array > Tuple
    • unknown
    • Unrecognized
    • void
    • where
  • Advanced
    • Classes
    • Domain Driven Design
    • Creating Pattern
    • Creating Utility

void

void > Void#

Value can't be assigned(must be undefined).

Returns: always true for undefined, else throws.

import { check, validate, voided } from 'typend';
check<void>(undefined);
validate(undefined, voided);
Previous
« Unrecognized
Next
where »

Docs

  • Getting Started
  • API

Community

  • Issues
  • Slack

More

  • GitHub
Adam Desivi, Eveble Logo
Released under MIT License
Copyright © 2023 Adam Desivi, Eveble. Built with Docusaurus