as

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.

  1. T as(Janet janet)
  2. T as(Janet janet)
  3. T as(Janet* janet)
    @safe @nogc
    T
    as
    (
    T
    )
    if (
    canBeSafelyConverted!T
    )
  4. T as(Janet* janet)
  5. T as(Janet* janet)

Meta