Here are
32 public repositories
matching this topic...
Performant type-checking for python.
Updated
Aug 20, 2021
OCaml
Updated
Jul 31, 2021
TypeScript
Minimal JavaScript type checking library
Updated
May 10, 2021
JavaScript
Checks TypeScript types match expected values
Updated
Feb 13, 2021
TypeScript
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Updated
Mar 8, 2021
TypeScript
Define fields in python classes. Easily.
Updated
Jun 21, 2021
Python
👏 ~ 1 kb. Schema validation. 一个只有 1 kb 的用于变量结构校验的库。
Updated
Jan 13, 2020
TypeScript
Fast and lightweight JSON validation and JS type checking. SJOT schemas are as simple as JSON templates.
Updated
May 14, 2021
JavaScript
Updated
Jul 8, 2021
TypeScript
🔏 Type checker for any data structures
Updated
Jun 16, 2021
JavaScript
Complete PHP port of React PropTypes
A minimal functional programming language with type inference, algebraic data types and pattern matching
Updated
Mar 27, 2019
Scala
💡 A tiny type checker for JavaScript
Updated
Aug 12, 2021
JavaScript
Command line scaffolding tool for react apps.
Updated
Aug 11, 2021
JavaScript
Strict, declarative, extensible runtime type checker for JavaScript
Updated
Aug 11, 2021
JavaScript
Easier type checks for JS variables
Updated
Aug 14, 2021
JavaScript
A type checker for dynamically typed JavaScript
Updated
Mar 16, 2018
JavaScript
🖐 Simple, Lightweight type checking of multiple arguments 👀
Updated
Jun 2, 2019
JavaScript
Companion module for SJOT schemas, creates a SJOT schema from JSON data to efficiently validate and type-check JSON data streams
Updated
Apr 26, 2021
JavaScript
A runtime type-checking library for javascript
Updated
Oct 29, 2020
JavaScript
Simple and very small JavaScript library to check types and instanceof.
Updated
Mar 27, 2019
JavaScript
Implementing AST and Symbol Table for Smoola and producing errors
Updated
Dec 19, 2018
Java
Automatic static type-checking for Javascript functions through declarative syntax.
Updated
Mar 26, 2019
JavaScript
2 functions that check if passed argument is or is not an object. Null is not considered an object.
Updated
Jul 27, 2020
JavaScript
Function triggers error if argument is not integer of zero or greater
Updated
Jul 30, 2020
JavaScript
2 functions that check if argument is or is not string
Updated
Jul 27, 2020
JavaScript
Developer-friendly value range checks with user-friendly error messages
Updated
Jul 9, 2020
Python
I set up this repository to demostrate several different ways to do dynamic data check types in our javascript code, I will perform them using nodejs.
Updated
Sep 4, 2020
JavaScript
2 functions that check if passed argument is or is not a finite number
Updated
Jul 26, 2020
JavaScript
Improve this page
Add a description, image, and links to the
type-check
topic page so that developers can more easily learn about it.
Curate this topic
Add this topic to your repo
To associate your repository with the
type-check
topic, visit your repo's landing page and select "manage topics."
Learn more
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Let's dive into the source code:
https://github.com/sindresorhus/is/blob/d528545e02de3396ea900cd93af478292f0697ee/source/index.ts#L184
Only
[Symbol.iterator]
property is checked, meaning the value is at leastIterable<T>
. It may beIterableIterator<T>
if the presence of one more property,next
, is ensured.