Add js_iscoercible function.

This commit is contained in:
Tor Andersson
2016-04-28 12:48:09 +02:00
parent 5aed7d6e94
commit 4b68d52351
2 changed files with 2 additions and 0 deletions

1
mujs.h
View File

@@ -160,6 +160,7 @@ int js_isprimitive(js_State *J, int idx);
int js_isobject(js_State *J, int idx);
int js_isarray(js_State *J, int idx);
int js_isregexp(js_State *J, int idx);
int js_iscoercible(js_State *J, int idx);
int js_iscallable(js_State *J, int idx);
int js_isuserdata(js_State *J, int idx, const char *tag);