- as
T as(Janet janet)
Undocumented in source. Be warned that the author may not have intended to support it.
- as
T as(Janet janet)
Undocumented in source. Be warned that the author may not have intended to support it.
- as
T as(Janet* janet)
Converts from a Janet object to an object of the given type
A safe version of the function will be used for all types that can be safely converted.
- baz
int baz(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromJanetString
string fromJanetString(Janet janet)
string fromJanetString(Janet* janet)
Converts a Janet string to a D string.
- janetCompatible
bool janetCompatible(Janet janet)
Returns true if the Janet argument's type is compatible with the template type. Used for type checking at runtime.
- janetCompatible
bool janetCompatible(T x, Janet janet)
Undocumented in source. Be warned that the author may not have intended to support it.
- janetWrap
Janet janetWrap()
Janet janetWrap(T x)
Janet janetWrap(V[K] arr)
Wraps a D value to a Janet value.