Add is_def_fn with 3 parameters.

This commit is contained in:
Stephen Chung
2023-03-30 16:43:15 +08:00
parent 2a98d38a7e
commit 34c7dabe44
4 changed files with 77 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ New features
------------
* It is now possible to require a specific _type_ to the `this` pointer for a particular script-defined function so that it is called only when the `this` pointer contains the specified type.
* `is_def_fn` is extended to support checking for typed methods, with syntax `is_def_fn(this_type, fn_name, arity)`
Version 1.13.0