constrain icon indicating copy to clipboard operation
constrain copied to clipboard

Sanity-checking more arguments

Open andrewcmyers opened this issue 4 years ago • 2 comments

Simple mistakes like passing the wrong kind of argument are going to give new users grief. Most user-facing methods should do run-time type checking of arguments. The run-time overhead would be paid at declaration time so should be insignificant.

andrewcmyers avatar Apr 21 '21 04:04 andrewcmyers

line labels should be checked more

andrewcmyers avatar Apr 05 '22 11:04 andrewcmyers

Also the checks themselves should be robust to null/undefined values

andrewcmyers avatar Jul 30 '22 14:07 andrewcmyers