Table of Contents

TJObject.hasOwnProperty Method

Checks whether this object has a member with the specified name. Provided for JavaScript compatibility.

Syntax

Unit: Bcl.Json.Classes

function TJObject.hasOwnProperty(const Name: string): Boolean;

Parameters

<-> Parameter Type Description
const Name string The name to look for.

Returns

True if the member exists; otherwise False.

See also