Grounds
    Preparing search index...

    Function RNull

    • Creates a schema for null values.

      The null type represents the absence of a value. Encoding produces a single type byte with no additional content.

      Returns TRNull

      A Relish schema for null values

      import { RNull, createCodec } from '@grounds/schema';

      const codec = createCodec(RNull());
      codec.encode(null).match(
      (bytes) => console.log('Null encoded:', bytes),
      (error) => console.error(error)
      );