googlearchive / quiver_check

Argument, state and other invariant checks for your programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

See https://pub.dev/packages/quiver instead!

Quiver Check

Argument, state and other invariant checks for your programs.

Build Status Coverage Status

Documentation

API Docs

checkArgument throws ArgumentError if the specified argument check expression is false.

checkListIndex throws RangeError if the specified index is out of bounds.

checkNotNull throws ArgumentError if the specified argument is null.

checkState throws StateError if the specified state check expression is false.

About

Argument, state and other invariant checks for your programs

License:Apache License 2.0


Languages

Language:Dart 92.9%Language:Shell 7.1%