exists

ivy.exists(x: Any) → bool[source]

Simple check as to whether the input is None or not.

Parameters

x (any) – Input to check.

Returns

True if x is not None, else False.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty