tf = isduration(A)
| Paramètre | Description |
|---|---|
| inputs | Toute valeur Nelson. |
| Paramètre | Description |
|---|---|
| output | Un scalaire logique. |
Teste si une entree est un tableau duration.
Utilisez isduration avant de convertir un temps ecoule avec seconds, minutes, hours, days ou years.
Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.
isduration(seconds(10))
isduration(datetime(2024,1,1))
| Version | Description |
|---|---|
| 2.0.0 | version initiale |