Function script::python::ffi_types::vector::rspy_is_pyobj_scalar

source ยท
pub(crate) fn rspy_is_pyobj_scalar(
    obj: &PyObjectRef,
    vm: &VirtualMachine,
) -> bool
Expand description

if this pyobj can be cast to a scalar value(i.e Null/Int/Float/Bool)