.. index:: single: typeid(Representation) .. _typeid/1: .. rst-class:: right **object** ``typeid(Representation)`` ========================== * ``Representation`` - Text representation for the TypeID, its type prefix, and its UUID suffix. Possible values are ``atom``, ``chars``, and ``codes``. Type-safe, K-sortable, globally unique identifier (TypeID) generator. Implements the TypeID specification (a type prefix plus a version 7 UUID encoded using a strict, lowercase variant of Crockford base32). | **Availability:** | ``logtalk_load(typeid(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2026-07-25 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`typeid_protocol ` | **Uses:** | :ref:`list ` | :ref:`uuid(Representation) ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`typeid_protocol/0::compose/3`  :ref:`typeid_protocol/0::decompose/3`  :ref:`typeid_protocol/0::from_uuid/3`  :ref:`typeid_protocol/0::generate/1`  :ref:`typeid_protocol/0::generate/2`  :ref:`typeid_protocol/0::generate/3`  :ref:`typeid_protocol/0::prefix/2`  :ref:`typeid_protocol/0::suffix/2`  :ref:`typeid_protocol/0::to_uuid/2`  :ref:`typeid_protocol/0::valid/1`  :ref:`typeid_protocol/0::valid_prefix/1`  :ref:`typeid_protocol/0::valid_suffix/1`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`typeid `, :ref:`ids(Representation,Bytes) `, :ref:`cuid2(Representation,Size,Alphabet) `, :ref:`ksuid(Representation,Alphabet) `, :ref:`nanoid(Representation,Size,Alphabet) `, :ref:`snowflakeid(Representation,EpochMilliseconds,TimeUnitMilliseconds,TimestampBits,NodeBits,SequenceBits,Node) `, :ref:`sqids(Representation) `, :ref:`ulid(Representation) `, :ref:`uuid(Representation) `