Аргументы
Instance
обязательно
Первое Instance object для сравнения.
Instance
обязательно
Второе Instance object для сравнения.
Возвраты
boolean
True, если оба значения Instance object содержат одно и то же внутреннее значение указателя.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Сравнивает внутренние значения указателя Instance, сохраненные в двух значениях Instance object.
compareinstances(first: Instance, second: Instance): boolean
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
print(compareinstances(Players, Players))
print(compareinstances(Players, ReplicatedStorage))