Đối số
Instance
bắt buộc
Instance object thu nhat de so sanh.
Instance
bắt buộc
Instance object thu hai de so sanh.
Giá trị trả về
boolean
True khi ca hai gia tri Instance object chua cung mot gia tri reference noi bo.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
So sanh cac gia tri reference Instance noi bo duoc luu trong hai gia tri 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))