isValidEntity()

Returns true if a given object is a valid entity. blinkDB Tables can store most objects - except those with Symbol or Function properties.

assert(isValidEntity({ a: "" }) === true);
assert(isValidEntity({ b: () => {} }) === false);
Parameter Description
obj The value or object to check.
blinkDB © 2023