=proto int duk_is_strict_call(duk_context *ctx); =summary

Check whether the current (Duktape/C) function call is strict or not. Returns 1 if the current function call is strict, 0 otherwise. If the call stack is empty, i.e. there is no active function call, returns 0.

All Duktape/C functions are currently strict, so at the monent this function always returns 1 when called from inside a Duktape/C function call, and 0 when called outside of a Duktape/C call (for a context with an empty call stack).
=example if (duk_is_strict_call(ctx)) { printf("strict call\n"); } else { printf("non-strict call\n"); } =tags function =fixme Necessary?