Skip to main content

entityReferenceOfTwinFile

Callable

  • entityReferenceOfTwinFile(twinId: string, fileId: string): EntityReference | undefined

  • The entity reference of a file in a twin, twin~twin:<twinId>.file:<fileId>, with no version qualifier.

    Never throws. Returns undefined when twinId or fileId is not a lowercase uuid; both are used as written, with no case normalisation.


    Parameters

    • twinId: string
    • fileId: string

    Returns EntityReference | undefined