• Parameters

    • globalObjectIdentifier: string

      The guid of the object to find

    • obj: any

      The object to search in

    • recursive: boolean = true

      If true the search will be recursive

    • searchComponents: boolean = false

      If true the search will also search components

    Returns any

    the first object that has the globalObjectIdentifier as a guid