fn

isAtomBlock

tested

Whether a block spec is an atom/void block.

Signature

ts
export function isAtomBlock(spec: NodeSpec): boolean{ ... }

Parameters

ParameterTypeDescription
specNodeSpec—

Returns

boolean