Condividi tramite


Funzione ISLOGICAL

Consente di verificare se un valore è un valore logico (TRUE o FALSE) e viene restituito TRUE o FALSE.

Sintassi

ISLOGICAL(<value>)

Parametri

Termine

Definizione

value

Valore che si desidera verificare.

Valore proprietà/valore restituito

TRUE se si tratta di un valore logico. FALSE se si tratta di qualunque valore diverso da TRUE OR FALSE.

Esempio

Nei tre esempi seguenti viene mostrato il comportamento di ISLOGICAL.

//RETURNS: Is Boolean type or Logical
=IF(ISLOGICAL(true), "Is Boolean type or Logical", "Is different type")

//RETURNS: Is Boolean type or Logical
=IF(ISLOGICAL(false), "Is Boolean type or Logical", "Is different type")

//RETURNS: Is different type
=IF(ISLOGICAL(25), "Is Boolean type or Logical", "Is different type")

Vedere anche

Altre risorse

Funzioni informative (DAX)