Checks if a value is a Ref instance.
Returns true if value is a Ref, false otherwise.
true
value
false
bool isRef(value) => value is public.Ref;