Skip to content

Value.objectAccess method

Value › objectAccess

Unofficial

Accesses a named sub-property of this value.

Signature:

objectAccess(key: string): null | Value

Parameters:

Parameter Type Description
key string The property key to access (case-insensitive).

Returns: null | ValueThe wrapped sub-value, or null if the key is not accessible.