https://github.com/ksxgithub/deno_simple_type_assert
Simple type assertion library for Deno
https://github.com/ksxgithub/deno_simple_type_assert
assert deno library testing typecheck typescript
Last synced: about 2 months ago
JSON representation
Simple type assertion library for Deno
- Host: GitHub
- URL: https://github.com/ksxgithub/deno_simple_type_assert
- Owner: KSXGitHub
- License: mit
- Created: 2020-03-23T03:35:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T04:00:25.000Z (over 6 years ago)
- Last Synced: 2025-03-10T00:14:18.432Z (over 1 year ago)
- Topics: assert, deno, library, testing, typecheck, typescript
- Language: TypeScript
- Homepage: https://deno.land/x/simple_type_assert
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Simple Type Assert
Simple type assertion library for Deno.
## Usage
```typescript
import assert from 'https://deno.land/x/simple_type_assert/index.ts'
assert(0, 1, 2) // => passed
assert('string') // => error
```
## License
[MIT](https://git.io/JvDdz) © [Hoàng Văn Khải](https://github.com/KSXGitHub)