Pezkuwi API
    Preparing search index...

    Class BoolNo Inherit Doc

    bool

    Representation for a boolean value in the system. It extends the base JS Boolean class

    Hierarchy

    • Boolean
      • Bool

    Implements

    • Codec
    Index
    createdAtHash?: IU8a

    The block at which this value was retrieved/created (set to non-empty when retrieved from storage)

    initialU8aLength: number = 1

    The length of the initial encoded value (Only available when the value was constructed from a Uint8Array input)

    isStorageFallback?: boolean

    (internal usage) Indicates that the value was created via a fallback. This is used when with data specified in the metadata when the storage entry is empty.

    With metadata fallback values (available as defaults on most storage entries) any empty storage item should erturn the default. (This is the same as the implementation on the Bizinikiwi runtime)

    registry: Registry

    The registry associated with this object

    • Parameters

      • Optionalother: unknown

      Returns boolean

      Compares the value of the input to see if there is a match

    • Returns boolean

      Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information

    • Parameters

      • Optional_isBare: boolean

      Returns Uint8Array

      Encodes the value as a Uint8Array as per the SCALE specifications

    • Returns the primitive value of the specified object.

      Returns boolean