// Copyright 2017-2023 @polkadot/util authors & contributors // SPDX-License-Identifier: Apache-2.0 /// import { isNull } from '.'; describe('isNull', (): void => { it('returns true when a null value', (): void => { expect( isNull(null) ).toEqual(true); }); it('returns false on non-null values', (): void => { expect( isNull() ).toEqual(false); }); });