• Checks whether the passed value is a readonly object. The properties of a readonly object can change, but they can't be assigned directly via the passed object.

    The proxies created by () and () are both considered readonly, as is a computed ref without a set function.

    Parameters

    • value: unknown

      The value to check.

    Returns boolean