isTemporalPlainDateTime
Checks if a value is a Temporal.PlainDateTime.
Uses instanceof when Temporal is available globally, and falls back
to Symbol.toStringTag for environments without Temporal (e.g. browsers).
Available since v2.0.0
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
value | unknown | The value to check |
Returns
Section titled “Returns”value is PlainDateTime — True if value is a Temporal.PlainDateTime
