wima
    Preparing search index...

    Function setTypeId

    • This function converts a string to a TypeId.This function should be used in some special cases where a type does not actually exist on runtime e.g enums, union types e.t.c. See typeid or typeidGeneric for safer methods of getting TypeIds.

      Safety

      This function is inherently unsafe as any string can be converted to a TypeId without it actually having a backing type.Use sparingly or dont use it if possible.

      Parameters

      • name: string

      Returns TypeId